How to join two different cores from two different Solr servers?

烈酒焚心 提交于 2019-12-25 09:20:08

问题


So I have some cores in one solr server and some cores in another solr server and I need to join them.

The schema of the cores are different with no matching attribute name but matching attribute value. I tried to do it with join & shards but both didn't work. Can you help me out?

  • attribute1 is in abc:7892/solr/core1

  • attribute2, attribute3 is in xyz:8983/solr/core2


{!join from=attribute1 to=attribute2 fromIndex="xyz:8983/solr/core2"} attribute3:*

Error Message :

Cross-core join: no such core xyz:8983/solr/core2

Thanks.


回答1:


join does not support joining across different servers, even in SolrCloud mode it has constraints in that sense, see here.

What you could do is use Streaming Expressions, by using a search as a source, and then you have several types of joins etc, look at the docs and examples.



来源:https://stackoverflow.com/questions/44386132/how-to-join-two-different-cores-from-two-different-solr-servers

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