1、搜索普通属性
http://eshost/index_name/_search?q=accountID:rt_23672
2、搜索数组属性
http://eshost/index_name/_search?q=userButtonList.buttonId:SkyEye
3、设置max_result_window
http://eshost/mytweetindex/_settings
#PUT
{
"max_result_window": "2000000000"
}
4、查看索引列表
http://192.168.40.127:19200/_cat/indices?v

5、查看单个索引信息
http://192.168.40.27:19200/sw_log-20210823

本文详细介绍如何在Elasticsearch中进行复杂查询,包括普通属性和数组属性的搜索方法,设置max_result_window参数以增加结果窗口大小,以及如何查看索引列表和单个索引的详细信息。
1万+

被折叠的 条评论
为什么被折叠?



