如何通过分片将嵌入式Solr彼此连接

编程入门 行业动态 更新时间:2024-10-25 10:31:26
本文介绍了如何通过分片将嵌入式Solr彼此连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我一直在使用具有多个基本Solr服务器的分片进行集群。我还使用了一个嵌入式solr服务器(Solrj Java API)和许多基本solr服务器,并通过分片连接它们,因为嵌入式solr服务器是它们的调用者。为此,我使用了下面的代码行。

I have been using sharding with multiple basic solr server for clustering. I also used one embedded solr server (Solrj Java API) with many basic solr servers and connecting them by sharding as embedded solr server is the caller of them. I used the code line below for this purpose.

SolrQuery query = new SolrQuery(); query.set("shards", "solr1URL,solr2URL,...");

现在,我有许多运行在不同计算机上的嵌入式solr服务器,它们彼此之间并不了解。 我想通过分片相互交流。可能吗?如果是,怎么办?如果不是,您还可以使用嵌入式Solr服务器建议哪些其他选项?

Now, I have many embedded solr servers running on different computers and they are unaware of each others. I want to communicate them with each other by sharding. Is it possible? if yes how? if not what are the other options that you can advice by using embedded solr servers?

推荐答案

在Jira中,该问题尚待解决。请参见此处。

There is an open issue for that problem in Jira. See here.

更多推荐

如何通过分片将嵌入式Solr彼此连接

本文发布于:2023-11-28 15:43:27,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1643007.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:嵌入式   分片   Solr

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!