RE: How to properly refresh MultiReader IndexSearcher in Lucene 4.0-BETA

2012-08-28 Thread Uwe Schindler
che.org > Subject: How to properly refresh MultiReader IndexSearcher in Lucene 4.0- > BETA > > Hi, > > The context is that I've migrated from Lucene 3.6 to Lucene 4.0-BETA. > Lucene 3.6 had the convenient method IndexSearcher.isCurrent() for any > underlying IndexRead

How to properly refresh MultiReader IndexSearcher in Lucene 4.0-BETA

2012-08-27 Thread Mossaab Bagdouri
Hi, The context is that I've migrated from Lucene 3.6 to Lucene 4.0-BETA. Lucene 3.6 had the convenient method IndexSearcher.isCurrent() for any underlying IndexReader, including MultiReader. This is no more the case for Lucene 4.0-BETA. I've been suffering in the last 48h until I came up with thi