ES基础(三十三)剖析分布式查询及相关性评分
作者:互联网
课程demo
DELETE message PUT message { "settings": { "number_of_shards": 20 } } GET message POST message/_doc?routing=1 { "content":"good" } POST message/_doc?routing=2 { "content":"good morning" } POST message/_doc?routing=3 { "content":"good morning everyone" } POST message/_search { "explain": true, "query": { "match_all": {} } } POST message/_search { "explain": true, "query": { "term": { "content": { "value": "good" } } } } POST message/_search?search_type=dfs_query_then_fetch { "query": { "term": { "content": { "value": "good" } } } }
标签:search,good,三十三,content,query,message,POST,ES,分布式 来源: https://www.cnblogs.com/qiu-hua/p/14197528.html