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.
问候巴拉吉.
推荐答案
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屋!