【问题标题】:Elasticsearch - What will range filter use without specifying 'execution'Elasticsearch - 范围过滤器使用什么而不指定“执行”
【发布时间】:2015-09-11 00:31:02
【问题描述】:

在 Elasticsearch 文档中,它提到我可以在范围过滤器上设置 exeuction 属性:https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-filter.html#_execution

如果我不指定值,它会默认使用indexfielddata 还是都不使用?

同样,如果默认使用index,是否也默认缓存? https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-filter.html#_caching_16

【问题讨论】:

    标签: elasticsearch


    【解决方案1】:

    如果您没有为range 过滤器指定execution 模式,它将默认使用index(源代码中的值is hardcoded)。

    从那里开始,从逻辑上讲,默认情况下将启用缓存,这可以进一步看到in the code

    当文档没有说明时,源代码会;)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-11-02
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多