Solr open document after searching a keyword

旧巷老猫 提交于 2020-01-02 10:58:33

问题


I am trying to index some PDF documents and then create a Search UI .

This question is somewhat related to

Solr Index PDF documents and post them to a remote server

1) Indexing PDF Docs - > I use tika jar to convert PDF to text files and then use curl command to index them.

2) Search UI --> I m using Solritas browse feature and its built in UI.

Objective :

When I search for a word say "Lucene" in the list of indexed documents and when I get a result set for the given query I want a link to be displayed for each returned document and on clicking any document that I should be able to open that document.

My current thoughts :

I think I might have to change step one from a two way step to a single step of indexing them directly. I even think there should be an additional field in the schema.xml which tells about the location of these PDF docs.

Please guide me with some suggestions


回答1:


This might help:

http://wiki.apache.org/solr/ExtractingRequestHandler



来源:https://stackoverflow.com/questions/6820895/solr-open-document-after-searching-a-keyword

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!