I have gone through the 'https://docs.marklogic.com/guide/cpf/default' to set up the pipeline to make the binary document searchable. i can observe that .xml and .xhtml are being generated out of ingested file. when i tried searching using Java Client API search query, i got the results from generated xml file rather than getting the results from ingested file.
Please let me know how can i get the uri of the ingested document while performing search using Java Client API search query. Since i want to display the actual document's content so DOC uri would be useful in that.