You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Michael McCandless <lu...@mikemccandless.com> on 2010/02/27 17:40:16 UTC

Re: FieldCache cost too much time. how can I preload the the custom fieldCache when new segment exits!

Sounds like you should simply open & warm the reader in a background thread...

You might want to use the SearcherManager class from upcoming Lucene
in Action 2nd edition (NOTE: I'm a co-author).  You can download the
source code @ http://manning.com/hatcher3.

Mike

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