Re: question about SearcherManager in version 3.5.0

2012-01-07 Thread Michael McCandless
These blog posts may also help describe SearcherManager and NRTManager: http://blog.mikemccandless.com/2011/09/lucenes-searchermanager-simplifies.html http://blog.mikemccandless.com/2011/11/near-real-time-readers-with-lucenes.html Mike McCandless http://blog.mikemccandless.com On Sat,

Re: question about SearcherManager in version 3.5.0

2012-01-07 Thread Greg Steffensen
You only need one SearcherManager instance for every IndexWriter you have open (basically, one for your application). The SearcherManager class is thread-safe- that's the point- so all threads can retrieve their IndexSearchers from it without any additional synchronization in your code. So you ca