On http://www.elasticsearch.org/guide/reference/query-dsl/ there is a
section on Filters and Caching.
My question is - how does caching filters work with NRT search?
If results are constantly changing (assuming continuous indexing
here), how do cached filters remain valid?
Json already have numeric types and boolean types, so those are used based
on it. Date types are automatically detected if the string matches
predefined (though configurable) date formats (more info here: Elasticsearch Platform — Find real-time answers at scale | Elastic).
On Elasticsearch Platform — Find real-time answers at scale | Elastic there is a
section on Filters and Caching.
My question is - how does caching filters work with NRT search?
If results are constantly changing (assuming continuous indexing
here), how do cached filters remain valid?
Answered the wrong thread there. Filters are cached on the segment level
without the need to refresh them if deletes happen. So, big segments will
have those filters "heavily" cached, while small flushed NRT segments will
get those refilled, but only for that segment.
On Elasticsearch Platform — Find real-time answers at scale | Elastic there is a
section on Filters and Caching.
My question is - how does caching filters work with NRT search?
If results are constantly changing (assuming continuous indexing
here), how do cached filters remain valid?
Answered the wrong thread there. Filters are cached on the segment level
without the need to refresh them if deletes happen. So, big segments will
have those filters "heavily" cached, while small flushed NRT segments will
get those refilled, but only for that segment.
On Wed, Aug 3, 2011 at 12:00 AM, Otis Gospodnetic <
Onhttp://www.elasticsearch.org/guide/reference/query-dsl/there is a
section on Filters and Caching.
My question is - how does caching filters work with NRT search?
If results are constantly changing (assuming continuous indexing
here), how do cached filters remain valid?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.