> Most likely due to the operating system caching the relevant portions of the
> index after the first set of queries.

I have enough RAM to keep the Lucene indexes in memory all the time, so I
"dd ... > /dev/null" the files at boot. And also perform a single query to
force JIT of the query code. Then first queries are fast.

-- 
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to