mirror of https://github.com/apache/lucene.git
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:
parent
43a9b349de
commit
c64646f1aa
|
@ -36,7 +36,7 @@ public class TestRealTime extends LuceneTestCase {
|
|||
|
||||
InstantiatedIndex index = new InstantiatedIndex();
|
||||
InstantiatedIndexReader reader = new InstantiatedIndexReader(index);
|
||||
IndexSearcher searcher = newSearcher(reader);
|
||||
IndexSearcher searcher = newSearcher(reader, false);
|
||||
InstantiatedIndexWriter writer = new InstantiatedIndexWriter(index);
|
||||
|
||||
Document doc;
|
||||
|
|
Loading…
Reference in New Issue