how can I use Solr to do real-time search

夙愿已清 提交于 2019-12-13 21:29:20

问题


now we use deltaImport to update data from db to index. but we have some information need a real-time search or near real-time search. what should I do if I use solr to solve this?


回答1:


to generate near real-time-search i would update the data in small packages and also update the index in small packages every minute (index update needs only some seconds - depending on the size of new data)

don't forget to optimize the index regularly




回答2:


This post could be useful for you: Solr and Near Real-Time Search




回答3:


You should take a look at Solr 3.3 with RankingAlgorithm 1.2. It supports NRT and can update 10,000 docs / sec. You can search concurrently during the updates. You can get more information from here:

http://solr-ra.tgels.org/wiki/en/Near_Real_Time_Search_ver_3.x



来源:https://stackoverflow.com/questions/5909565/how-can-i-use-solr-to-do-real-time-search

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!