Plugin - cache invalidation in Query parser

I implemented query parser plugin. While query is parsed a few costly
operations have to be performed. I decided to cache sub-results of this
operation and reuse it when needed. This works fine.

The problem begins when cache should be invalidated. I built REST API
(BaseRestAction) for cache invalidation and registered it. When API method
is called it should clear cache on all ES nodes ... not only one.

Do you have any idea how I can distribute "cache invalidation operation"
across all ES nodes?

Paweł Róg

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
To view this discussion on the web visit
For more options, visit