PUT my_index/_doc/1?refresh
{
"message":"this is a test"}
PUT my_index/_doc/2?refresh
{
"message":"this is a dog"}
PUT my_index/_doc/3?refresh
{
"message"<
文章目录matchmatch_phrasequery_stringwildcardsuggestmatch根据定义的分词器(默认standard)对搜索词进行拆分,根据拆分结果逐个进行匹配。特点是可以查出大量可能相关联的数据,但是准确率低。PUT my_index/_doc/1?refresh{ "message": "this is a test"}PUT my_index/_doc/2?refresh{ "message": "this is a dog"}PUT my_ind