Disabling cache

Hi,

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.

Thanks!

--
Adrian Gaudebert
WebDev Intern @ Mozilla
http://adrian.gaudebert.fr

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.

On Wed, Jul 27, 2011 at 2:30 AM, Adrian Gaudebert <
adrian.gaudebert@gmail.com> wrote:

Hi,

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.

Thanks!

--
Adrian Gaudebert
WebDev Intern @ Mozilla
http://adrian.gaudebert.fr