Hi, The way I understand the Shard Query Cache <http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.4/index-modules-shard-query-cache.html>, it invalidates *ALL *cached results in a shard when the shard refreshes, given that *ANY *data in the shard has changed.
My data changes all the time, but I'd like to keep some of my query results cached for a while - say 1 minute. My refresh interval (5 sec) cannot be changed because I need near-realtime searches for other query types. I can read that there is a "indices.cache.query.expire" config setting where the general TTL of all Shard Query Caches can be set, but the docs specify that this shouldn't really be used because all cached results are invalidated anyway upon refresh. Two questions: 1. Is my understanding of the Shard Query Cache invalidation mechanism correct? 2. Is there a way to specify a TTL on the query-level, that makes the cached result survive the refresh interval? Thanks, Lasse -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c6dd35c7-e1f8-4bd1-9136-6cfaacfabf1e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
