0

In the Elasticsearch documentation, it mentions that I can set an exeuction property on a range filter: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-filter.html#_execution

If I don't specify the value, will it use index or fielddata by default or neither?

Likewise, if it uses index by default, is it also caching by default? https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-filter.html#_caching_16

1 Answer 1

2

If you don't specify the execution mode for a range filter, it will use index by default (the value is hardcoded in the source code).

From there on, it logically follows that caching will be enabled by default as can be seen a bit further in the code.

When the documentation doesn't tell, the source code will ;)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.