Re: Warm up IndexReader

2014-07-14 Thread Michael McCandless
Maybe just use oal.index.SimpleMergedSegmentWarmer as a start and iterate from there? Mike McCandless http://blog.mikemccandless.com On Mon, Jul 14, 2014 at 12:02 PM, Ian Lea wrote: > There's no magic to it - just build a query or six and fire them at > your newly opened reader. If you want t

Re: Warm up IndexReader

2014-07-14 Thread Ian Lea
There's no magic to it - just build a query or six and fire them at your newly opened reader. If you want to put the effort in you could track recent queries and use them, or make sure you warm up searches on particular fields. Likewise, if you use Lucene's sorting and/or filters, it might be wor