DataStax Enterprise Search を試しています。2 ノード クラスターがあり、Solr コンソールの Dataimport 機能を使用してデータをインポートしています。「Solr の構成」ドキュメント ( http://www.datastax.com/docs/datastax_enterprise3.2/solutions/dse_search_schema#configuring-solr ) に従って、仮想ノードを無効にしています (cassandra.yaml で num_tokens = 1 )。私の簡略化されたスキーマは次のとおりです。
<schema name="spatial" version="1.1">
<types>
<fieldType name="string" class="solr.StrField" omitNorms="true"/>
<fieldType name="boolean" class="solr.BoolField" omitNorms="true"/>
<fieldType name="sint" class="solr.SortableIntField" sortMissingLast="true" omitNorms="true"/>
<fieldType name="tint" class="solr.TrieIntField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/>
<fieldType name="tfloat" class="solr.TrieFloatField" omitNorms="true"/>
<fieldType name="tdouble" class="solr.TrieDoubleField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/>
<fieldType name="tdate" class="solr.TrieDateField" omitNorms="true"/>
<fieldType name="binary" class="solr.BinaryField"/>
<!-- A specialized field for geospatial search. If indexed, this fieldType must not be multivalued. -->
<fieldType name="location" class="solr.LatLonType" subFieldSuffix="_coordinate"/>
</types>
<fields>
<field name="id" type="string" indexed="true" stored="true"/>
<field name="objectid" type="tint" indexed="true" stored="true" required="true" multiValued="false" />
<field name="guwi" type="string" indexed="true" stored="true" required="false" multiValued="false" />
<field name="country" type="string" indexed="true" stored="true" required="false" multiValued="false" />
<field name="region" type="string" indexed="true" stored="true" required="false" multiValued="false" />
<field name="latlong" type="location" indexed="true" stored="false"/>
</fields>
<defaultSearchField>objectid</defaultSearchField>
<uniqueKey>id</uniqueKey>
</schema>
データのインポートは成功します。しかし、「nodetool status」を実行すると、負荷が 2 つのノードに均等に分散されておらず、データのインポートに使用したノードにすべて集中していることがわかります。uniqueKey を (id,latlong) または単なる latlong のような複合キーに変更しようとしましたが、負荷分散は変更されていないようです。何か不足していますか?
ありがとう、レオン