Re: SOLR query times

2008-10-14 Thread Chris Hostetter
: If the latency is caused by loading and caching of Lucene's segments, : is there a way to force Lucene's index to preload this? This seems to configure some static queries in newSearcher and firstSearcher listeners ... it doesn't really matter what the queries are as long as they force some

Re: SOLR query times

2008-10-13 Thread Sammy Yu
Hi Grant, Thanks for your response. I'm trying to simulate our production environment's search traffic which has very low cache hit rate. Turning off the caches can help us better understand query times and the load of the slave's when distribution occurs with a small list of pre-canned queries

Re: SOLR query times

2008-10-12 Thread Grant Ingersoll
This is pretty typical. The first query is always more expensive, as Lucene lazily loads some pieces of the index into memory and you may see the FieldCache in action, depending on sorting, not to mention you are also seeing operating system caching take place. Is there some reason you don

SOLR query times

2008-10-10 Thread Sammy Yu
Hi, I'm using SOLR 1.3 on a index with approximately 8 million documents. I would like to disable SOLR's cache so that it is easier for me to test the scenario when there is a small likelihood of cache hits. I've disabled caching by commenting out the filterCache, queryResultCache, and documen