跨多个Solr实例的分布式搜索 [英] Distributed Search Across Multiple Solr Instances
本文介绍了跨多个Solr实例的分布式搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要:
- 查询每个实例。
- 从每个实例获取结果。这些结果将导致最终查询。
- 调用最终的Solr实例以获得最终结果。
我该怎么做?我需要写一个单独的requestHandler吗?
例如,
$ curl http:// localhost:8983 / solr / select?q = query1.result AND ... AND queryN.result
解决方案
你在找什么叫做分布式搜索 - > http://wiki.apache.org/solr/DistributedSearch
I have 100 billion rows of data that I have split into multiple solr instances, each with a separate schema.
I need to:
- Query each instance.
- Get the results from each instance.
- Append those results to a final query.
- Call a final Solr instance for the ultimate result.
How can I do this? Do I need to write a separate requestHandler?
eg,
$ curl http://localhost:8983/solr/select?q=query1.result AND ... AND queryN.result
解决方案
what you are looking for is called distributed search -> http://wiki.apache.org/solr/DistributedSearch
这篇关于跨多个Solr实例的分布式搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文