I got pretty simple question, but i can'f find and answer rly.
After i index document in ES it wil be commited to index in about 1 second.
What will happen to my cache filled with filter query ealier. It will be
cleared to give me most current response?
In solr when i index and commit new document new searcher is boarn and all
cachech are cleared. How it look here?
Elasticsearch caches filters per segment. Let's say that you have a search
S and a filter F which is cached. If you perform updates, then a new
searcher S2 will be created, that likely shares most of its segments with
S. So on the next time that you will be using F in a query, Elasticsearch
will only generate cache entries for the segments of S2 that were not part
of S.
On Tue, May 13, 2014 at 11:20 AM, Marcin Ciurla mizayah@gmail.com wrote:
I got pretty simple question, but i can'f find and answer rly.
After i index document in ES it wil be commited to index in about 1 second.
What will happen to my cache filled with filter query ealier. It will be
cleared to give me most current response?
In solr when i index and commit new document new searcher is boarn and all
cachech are cleared. How it look here?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.