...
|
...
|
@@ -187,7 +187,7 @@ public class YohoIndexServiceImpl implements IYohoIndexService, ApplicationEvent |
|
|
Map<String,Object> indexSettings = new HashMap<String,Object>();
|
|
|
indexSettings.putAll(properties);
|
|
|
indexSettings.put("max_result_window", "100000000");
|
|
|
indexSettings.putAll(this.analysisConfigMap);
|
|
|
//indexSettings.putAll(this.analysisConfigMap);回退分词器设置,以定位主节点带宽过高的问题
|
|
|
client.createIndex(newRealIndexName, yohoIndexName, indexSettings, mappingContent);
|
|
|
// 5、删除旧索引别名
|
|
|
if (oldRealIndexNames != null && !oldRealIndexNames.isEmpty()) {
|
...
|
...
|
|