且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将新数据添加到Solr服务器

更新时间:2023-12-01 23:03:52

如果您尚未解决此问题,也许此链接会有所帮助.

http://lucene.apache.org/solr/api-4_0_0-ALPHA/doc-files/tutorial.html [ ^ ]

我们使用Solr进行站点搜索,并且每天都有一项cron作业,该作业会为所有html,pdf,xml,docx,pptx和其他文件编制索引.我们可以更频繁地运行它,但是对于我们的需求而言,每天确定一次就足够了.
If you haven''t solved this problem yet, maybe this link will help.

http://lucene.apache.org/solr/api-4_0_0-ALPHA/doc-files/tutorial.html[^]

We use Solr for our sites search and we have a daily cron job that indexes all of our html, pdf, xml, docx, pptx, and other files. We could run it more often, but for our needs have decided once per day is enough.