居然是你

disable _all field对于query_string的影响

Elasticsearch | 作者 shjdwxy | 发布于2018年02月01日 | 阅读数:1904

hi
 从官方文档( https://www.elastic.co/guide/e ... .html )上看,disable _all field,query_string将无法正常使用,但是实际测试下来, query_string使用一切正常。
  是官方文档有错误呢?还是哪里理解错了?
谢谢大家
 
已邀请:

rockybean - Elastic Certified Engineer, ElasticStack Fans,公众号:ElasticTalk

赞同来自: kwan

disable _all 之后你可以配置 default_field 来配置默认查询的字段,否则 es 会去匹配你的所有字段,数据量大的时候会有性能问题

viewsite

赞同来自:

理解错了

要回复问题请先登录注册