简体   繁体   English

如何在Solr 4.0中启用实时搜索

[英]How to enable realtime search in Solr 4.0

I'm trying to enable realtime search in Solr 4.0 (So I can see new documents without committing). 我正在尝试在Solr 4.0中启用实时搜索(因此我可以不提交就看到新文档)。

I've added: 我已经添加:

<realtime visible="0" facet="true">true</realtime>

But documents aren't seen before commit (or softCommit). 但是在提交(或softCommit)之前看不到文档。 Any help will be appreciated. 任何帮助将不胜感激。

  • I believe this feature is only available in Solr RA but any information on how to achieve it will be great. 我相信此功能仅在Solr RA中可用,但是有关如何实现此功能的任何信息都将非常有用。

Thanks, Avner 谢谢,Avner

As far as my understanding this can't be done in Solr 4.0 but only in Solr-ra http://solr-ra.tgels.com Solr 4.0 has the soft commit feature which helps with NRT search requirements. 据我了解,这不能在Solr 4.0中完成,而只能在Solr-ra中完成。http: //solr-ra.tgels.com Solr 4.0具有软提交功能,可帮助满足NRT搜索要求。 It has a new feature which supports the get operation without commit by enabling logged update but without the search capabilities. 它具有一项新功能,该功能通过启用记录的更新但不具有搜索功能,而无需提交即可支持get操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM