lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: custom FieldCache cost too much time. how can I preload the the custom fieldCache when new segment exits!
Date Sat, 27 Feb 2010 16:42:38 GMT
If you look at the javadocs for IndexWriter it explains how to do it.
You just provide a class that implements the warm method, and inside
that method you do whatever app specific things you need to do to the
provided IndexReader to warm it.

Note that the SearcherManager class from LIA2 handles setting up the
MergedSegmentWarmer, if you implement the warm method.


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

View raw message