how can I use Solr to do real-time search

2019-09-18 00:57发布

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?

3条回答
太酷不给撩
2楼-- · 2019-09-18 01:24

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

查看更多
Anthone
3楼-- · 2019-09-18 01:26

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

查看更多
做自己的国王
4楼-- · 2019-09-18 01:31

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

查看更多
登录 后发表回答