Search code examples
solrsolrj

Can I get the original PDF files with Solr in the UI after indexing?


I want to build a enterprise search engine with solr. I am indexing some PDFs and doc files to Solr. I am creating UI with SolrJ. Can I get the original PDF files with Solr in the UI?


Solution

  • Solr won't store the files at its end, So there is no scope of getting the original PDF file from solr.

    But you can store the path of the file and can provide a link in the user interface for file to be downloaded.

    You can use the path given by solr and get the file from that location.