I am creating a MarkLogic search where the end user can search for a string and get pdf document results. I have created a database and uploaded the files in PDF format with appropriate permissions. Here the problem is with my search where it is not returning results in PDF format instead it is returning in XML and XHTML format.
Could someone please advise what can be done here for the search to return only pdf documents?