查询2

match

参考:https://www.elastic.co/guide/en/elasticsearch/reference/7.6/query-dsl-match-query.html
根据字段类型执行一定操作后转换为term查询;
1、对于text类型的字段需要使用分词器进行分词在查询,可以指定一定的参数。比如operator:决定组合分词后的关系 and(默认) or

posted @ 2021-05-13 20:25  犬犬呀  阅读(92)  评论(0)    收藏  举报