搜索关键字后,Solr打开文档 [英] Solr open document after searching a keyword

查看:120
本文介绍了搜索关键字后,Solr打开文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图索引一些PDF文档,然后创建一个搜索用户界面。



这个问题与

Solr索引PDF文档和帖子他们到远程服务器



1)索引PDF文档 - >我使用tika jar将PDF转换为文本文件,然后使用curl命令为它们编制索引。

2)搜索UI - >使用 Solritas 浏览功能及其内置用户界面。



目标:

当我搜索索引文件列表中的Lucene时,给定查询的结果集我想要为每个返回的文档显示一个链接,并单击任何我应该能够打开该文档的文档。

我目前的想法:



我想我可能不得不从第二步改变第一步y直接进行索引它们的单个步骤。我甚至认为schema.xml中应该有一个额外的字段来说明这些PDF文档的位置。



请指导我一些建议

解决方案

这可能有所帮助: apache.org/solr/ExtractingRequestHandlerrel =nofollow> http://wiki.apache.org/solr/ExtractingRequestHandler


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

解决方案

This might help:

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

这篇关于搜索关键字后,Solr打开文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆