LUCENE-3053: don't wrap the IIR with SlowMultiReaderWrapper, this realtime functionality is not compatible with multireader

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098357 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2011-05-01 15:41:57 +00:00
parent 43a9b349de
commit c64646f1aa
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ public class TestRealTime extends LuceneTestCase {
InstantiatedIndex index = new InstantiatedIndex(); InstantiatedIndex index = new InstantiatedIndex();
InstantiatedIndexReader reader = new InstantiatedIndexReader(index); InstantiatedIndexReader reader = new InstantiatedIndexReader(index);
IndexSearcher searcher = newSearcher(reader); IndexSearcher searcher = newSearcher(reader, false);
InstantiatedIndexWriter writer = new InstantiatedIndexWriter(index); InstantiatedIndexWriter writer = new InstantiatedIndexWriter(index);
Document doc; Document doc;