lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From googoo <>
Subject Re: In memory Lucene configuration
Date Wed, 18 Jul 2012 12:20:34 GMT

To verify actual query speed, i think you may need:
1) do not run index job
2) in solrconfig.xml, set filterCache and queryResultCache value to 0
3) restart solr
4) run the query and check the qtime result

That may give you some idea what is actual query time.

To break down query time, you can run field1, field2, field3 query
separately, to get some idea which field query take longer time.

In additional, i don't think load whole index to memory is good idea. Since
the index size will always increase.
For me, i change lucene code to disable MMapDirectory, since the index size
is bigger and bigger.
And MMapDirectory will call something like c++ share memory to load whole
index to ram.

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message