Cached filters and NRT search

Hello,

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?

Thanks,
Otis

Sematext is hiring Search Engineers -- http://sematext.com/about/jobs.html

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 Wed, Aug 3, 2011 at 12:00 AM, Otis Gospodnetic <
otis.gospodnetic@gmail.com> wrote:

Hello,

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?

Thanks,
Otis

Sematext is hiring Search Engineers -- Jobs - Sematext

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 <
otis.gospodnetic@gmail.com> wrote:

Hello,

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?

Thanks,
Otis

Sematext is hiring Search Engineers -- Jobs - Sematext

Ah, of course! Thanks.

Otis

Sematext is hiring Search Engineers -- Jobs - Sematext

On Aug 2, 5:10 pm, Shay Banon kim...@gmail.com wrote:

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 <

otis.gospodne...@gmail.com> wrote:

Hello,

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?

Thanks,
Otis

Sematext is hiring Search Engineers --Jobs - Sematext