: 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
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
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