Solr索引PDF文档并将其发布到远程服务器 [英] Solr Index PDF documents and post them to a remote server
问题描述
当我来Solr时,我是一个天真的用户。请指导我以下障碍。
Hi I am a naive user when it come to Solr. Please guide me on the following hurdles.
1) Solr索引PDF文档
尝试解决方案
我使用tika-app 0.9.jar将输入PDF文件中的内容提取到文本文件。现在我正在尝试编写一个java代码来将文档索引到Solr。
I used tika-app 0.9.jar to extract the content from the Input PDF files to text file. Now I am trying to write a java code to index the documents to Solr.
2)将它们发布到远程服务器
我需要将文档或索引发布到中央远程服务器。可以使用curl命令。
I need to post either the documents or the index to a central remote server. Can curl command be used for this.
关于
Balaji。
Regards Balaji.
推荐答案
1)Solr索引PDF文档 - 我相信Solr会为您做到这一点。 您可以使用Solr的http界面或 SolrJ 。
2)将索引发布到远程服务器 - Solr复制可能符合要求。
1) Solr Index PDF documents - I believe Solr does this for you. You can use Solr's http interface or SolrJ. 2) Post the index to a remote server - Solr replication may fit the bill.
这篇关于Solr索引PDF文档并将其发布到远程服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!