Re: Tweaking Solr Query Result Cache

2014-02-22 Thread KNitin
Thanks, Erick. Turned off the query cache and sharded more aggressively helped bring down the latencies On Thu, Feb 20, 2014 at 5:07 PM, Erick Erickson wrote: > What you _do_ want to do is add replicas so you distribute the CPU > load across a bunch of machines. > > The QueryResultCache isn't ve

Re: Tweaking Solr Query Result Cache

2014-02-20 Thread Erick Erickson
What you _do_ want to do is add replicas so you distribute the CPU load across a bunch of machines. The QueryResultCache isn't very useful unless you have multiple queries that 1> reference the _exact_ same query, q, fq, sorting and all 2> don't page very far. This cache really only holds the doc

Tweaking Solr Query Result Cache

2014-02-20 Thread KNitin
Hello I have a 4 node cluster running Solr cloud 4.3.1. I have a few large collections sharded 8 ways across all the 4 nodes (with 2 shards per node). The size of the shard for the large collections is around 600-700Mb containing around 250K+ documents. Currently the size of the query cache is