你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
搜索:
没有找到相关结果
dotNetDR_ - elasticsearch 6.x
赞同来自: haiyupeter
haiyupeter - 乡村野夫
赞同来自:
-d {'query': { "multi_match": { "message": "查询", "level": "info" } }
要回复问题请先登录或注册
乡村野夫
2 个回复
dotNetDR_ - elasticsearch 6.x
赞同来自: haiyupeter
haiyupeter - 乡村野夫
赞同来自:
GET http://134.32.123.101:9200/myindex/_search?pretty
1、根据document的id来获取数据:pretty参数就是用json格式化的方式展示
?pretty
2、通过参数的方式
?q=first_name="bin"
3、通过match参数
-d ' {"query": {"match":{"first_name":"bin"} } }'
4、对多个field发起查询:multi_match
5、must + must : 交集
6、must +must_not :差集
7、{"range": {"age" : { "from" : 20, "to" : 33 } }
8、must_not+must_not : 并集
还有没有其他呢?