lucene-java-user mailing list archives

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

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: http://lucene.472066.n3.nabble.com/In-memory-Lucene-configuration-tp3995075p3995697.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

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


Mime
View raw message