at the moment I am a bit lost about caching, so maybe someone could get me
a more general view on this topic? What I am trying to do is the following:
I am using filter with my queries, e.g. GeoPolygonFilter. As those polygons
can become quite large I dont wont to transmit them (I have to request
polygons from an external source) and generate filter (adding a large
number of points) all the time. So keeping those filter in cache would be
really nice. Using GeoPolygonFilterBuilder it seems I am able to do so, at
least I can say cache(true) and provide a cachekey. So far, so good. But
what is happening now? Is there a way for me to find out if a cachekey is
stored in the cache? How can I use filter in cache, can I retrieve the
filter from cache or pass cachekey to the query? What are
CacheKeyFilter.Key and CacheKeyFilterWrapper for? Am I completely wrong? Or
in general: could someone write down a few sentences about how (filter)
caching is done in elasticsearch? Unfortunatly documentation (at least what
I found) is a bit short on this topic.
Thanks in advance!