Hi,
Came across this feature:
But was not able to find it reflected in the docs. I figured it would
be in the Node settings.
Also, does this cache hold data for filter queries or other items, as
well?
While on the topic of caching, I was curious, at what level of
granularity are filter queries cached?
For example, in the sample query here:
http://www.elasticsearch.com/docs/elasticsearch/rest_api/query_dsl/and_filter/
Are there two cache objects created for each filter (separate date and
name caches) or one cache that holds the results of everything
specified in filters?
How does this work in the case of nested filters? For the example
below, I'd guess one cached item for each filters grouping, so two
cached items one for the main filters and the other for the sub-
filters.
{
'query' : {
'constant_score' : {
'filter' : {
'and' : {
'filters' : [
{ 'term' : {'data' : 600} },
{ 'term' : {'symbol' : 'msft'} },
{ 'or' : {
'filters' : [
{'term' : { 'Language' : 'en' } },
{'term' : { 'Language' : 'fr' } }
]}}
]
}
}
}
}
}
Thanks!
Paul