Showing
1 changed file
with
1 additions
and
1 deletions
@@ -187,7 +187,7 @@ public class YohoIndexServiceImpl implements IYohoIndexService, ApplicationEvent | @@ -187,7 +187,7 @@ public class YohoIndexServiceImpl implements IYohoIndexService, ApplicationEvent | ||
187 | Map<String,Object> indexSettings = new HashMap<String,Object>(); | 187 | Map<String,Object> indexSettings = new HashMap<String,Object>(); |
188 | indexSettings.putAll(properties); | 188 | indexSettings.putAll(properties); |
189 | indexSettings.put("max_result_window", "100000000"); | 189 | indexSettings.put("max_result_window", "100000000"); |
190 | - indexSettings.putAll(this.analysisConfigMap); | 190 | + //indexSettings.putAll(this.analysisConfigMap);回退分词器设置,以定位主节点带宽过高的问题 |
191 | client.createIndex(newRealIndexName, yohoIndexName, indexSettings, mappingContent); | 191 | client.createIndex(newRealIndexName, yohoIndexName, indexSettings, mappingContent); |
192 | // 5、删除旧索引别名 | 192 | // 5、删除旧索引别名 |
193 | if (oldRealIndexNames != null && !oldRealIndexNames.isEmpty()) { | 193 | if (oldRealIndexNames != null && !oldRealIndexNames.isEmpty()) { |
-
Please register or login to post a comment