Es常用http操作

修改分页最大上限:
curl -XPUT http://xx.36:9200/indexName/_settings -d '{ "index" : { "max_result_window" : 1000000}}'

mapping 字段中加入:omit_norms=true 减少索引时加权
http://xx:9200/_cat/segments/index?v&h=shard,segment,size,size.memory

segment合并:curl -XPOST 'http://xx:9200/index/_forcemerge?max_num_segments=1'

猜你喜欢

转载自blog.csdn.net/my201110lc/article/details/82229693