Is there a way to totally disable cache in ElasticSearch? To make sure every
query runs as if it was the first time? I would need it to run some
performance tests.
Which caches are we talking about? The field data cache (the one for facets
/ sorting) is expensive to build, so running a performance tests without it
will bring the system to a crawl... (makes little sense to run it). The only
other cache in elasticsearch is the filter cache, which you can disable by
setting: index.cache.filter.type to none.
Is there a way to totally disable cache in Elasticsearch? To make sure
every query runs as if it was the first time? I would need it to run some
performance tests.
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.