elasticsearch 常用脚本
http://localhost:9200/zzm/_analyze?analyzer=ik&text=中华人民共和国http://localhost:9200/zzm/_analyze?analyzer=mmseg&text=中华人民共和国
http://localhost:9200/zzm/_analyze?analyzer=pinyin&text=中华人民共和国
http://localhost:9200/zzm/_analyze?field=content&text=中华人民共和国
http://localhost:9200/zzm/_analyze?analyzer=ik&text=中华人民共和国
http://localhost:9200/zzm/_analyze?analyzer=mmseg&text=中华人民共和国
http://localhost:9200/zzm/_analyze?analyzer=pinyin&text=中华人民共和国
http://localhost:9200/zzm/_analyze?field=content&text=中华人民共和国
http://localhost:9200/my_index/_analyze?analyzer=my_synonyms&text=Elizabeth is the English queen
http://localhost:9200/my_index2/_analyze?analyzer=my_synonyms&text=天朝 北京
http://localhost:9200/my_index2/_analyze?analyzer=my_synonyms&text=布鼓雷门
http://localhost:9200/zzm/_analyze?analyzer=ik_max_word_synonym&text=番茄
http://localhost:9200/zzm/_analyze?analyzer=ik_max_word_syno&text=es
http://localhost:9200/synonym/_analyze?analyzer=mmseg_synonym&text=番茄
//删除查询范围
curl -XDELETE 'localhost:9800/test/test/_query' -d '{"query":{"term":{"status":"1"}}}'
//删除id
curl -XDELETE 'localhost:9800/test/test/id
页:
[1]