Re: Search Performance with NRT

2015-05-27 Thread kiwi clive
Hi Mike, Thanks for the very prompt and clear response. We look forward to using the new (new for us) Lucenene goodies :-) Clive From: Michael McCandless To: Lucene Users ; kiwi clive Sent: Thursday, May 28, 2015 2:34 AM Subject: Re: Search Performance with NRT As long as you

Re: Search Performance with NRT

2015-05-27 Thread Michael McCandless
As long as you call SM.maybeRefresh from a dedicated refresh thread (not from a query's thread) it will work well. You may want to use a warmer so that the new searcher is warmed before becoming visible to incoming queries ... this ensures any lazy data structures are initialized by the time a que

Search Performance with NRT

2015-05-27 Thread kiwi clive
Hi Guys We are considering changing our Lucene indexer / search architecture from 2 separate JVMs to a single one to benefit from the very latest index views NRT readers provide. In the past we cached our IndexSearchers to avoid cold searches every time and reopened them periodically.  In the