问题
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