Cache invalidating and recreation on TermsFilter values change


(ElasticSearch Users mailing list) #1

Hi,

I am using the IndexQueryParserModule and in the plugin, I have my
TermsFilter implementation.

By default, since I am writing my own ABCFilterBuilder/Parser, I believe, I
can control the caching, and ES will, by default, not cache the Lucene
TermsFilter that I return. Correct me if I am wrong.

Can I specify a cache_key and have this explicitly cached by ES? It seems,
from other FilterParsers, that this may be possible.

Although, when the documents in the filter condition change, I want the
cache to be invalidated and a new filter created again, and then cached
again.

Is that possible? Please let me know.

Thanks,
Sandeep

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/09fe53d1-f573-4e1a-9e50-a40fd129256c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2