繁体   English   中英

Solr联接在Solr云环境中不起作用

[英]Solr join not working on solr cloud environment

例如:我在Solr云环境中有2个分片,我的查询就像http://localhost:8983/solr/B/select?wt=json&indent=true&q=*:*&fq={!join from=id to=uid fromIndex=A}type:xxx

现在,从集合B中检索数据时会发生什么情况,查询仅在提供了联接查询数据的分片中搜索{!join from = id to = uid fromIndex = A} type:xxx

这意味着,如果在分片2中找到了集合A的文档,则查询仅在分片2中搜索数据,即使对于集合B也是如此。

尝试合并查询以包括两个集合。

本地主机:8983 / solr / B / select?wt = json&indent = true&q = &fq = {!join from = id to = uid fromIndex = A} type:xxx,localhost:8983 / solr / A / select?wt = json&indent = true&q = &fq = {!join from = id to = uid fromIndex = B}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM