Dsolr.clustering.enabled 在 Solr 中有什么用?

What is Dsolr.clustering.enabled for in Solr?

我想 运行 一个 Solr 集群!我在 solr/bin/solr.in.sh 中添加了 zookeeper 集成配置!但是有一个默认情况下禁用的选项,我不知道它与云模式有什么关系,以及如果启用它究竟在做什么!

#SOLR_OPTS="$SOLR_OPTS -Dsolr.clustering.enabled=true"

它与 运行 云模式下的 Solr(作为“集群”)无关。

enables or disables the Clustering component - 即结果集的聚类。

The clustering (or cluster analysis) plugin attempts to automatically discover groups of related search hits (documents) and assign human-readable labels to these groups.

By default in Solr, the clustering algorithm is applied to the search result of each single query -— this is called an on-line clustering. While Solr contains an extension for full-index clustering (off-line clustering) this section will focus on discussing on-line clustering only.