Package org.elasticsearch.index.engine
Class EngineTestCase.MatchingDirectoryReader
java.lang.Object
org.apache.lucene.index.IndexReader
org.apache.lucene.index.CompositeReader
org.apache.lucene.index.BaseCompositeReader<LeafReader>
org.apache.lucene.index.DirectoryReader
org.apache.lucene.index.FilterDirectoryReader
org.elasticsearch.index.engine.EngineTestCase.MatchingDirectoryReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- EngineTestCase
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.index.FilterDirectoryReader
FilterDirectoryReader.SubReaderWrapper
Nested classes/interfaces inherited from class org.apache.lucene.index.IndexReader
IndexReader.CacheHelper, IndexReader.CacheKey, IndexReader.ClosedListener
-
Field Summary
Fields inherited from class org.apache.lucene.index.FilterDirectoryReader
in
Fields inherited from class org.apache.lucene.index.DirectoryReader
directory
Fields inherited from class org.apache.lucene.index.BaseCompositeReader
subReadersSorter
-
Constructor Summary
ConstructorDescriptionMatchingDirectoryReader
(DirectoryReader in, org.apache.lucene.search.Query query) -
Method Summary
Methods inherited from class org.apache.lucene.index.FilterDirectoryReader
doClose, doOpenIfChanged, doOpenIfChanged, doOpenIfChanged, getDelegate, getIndexCommit, getVersion, isCurrent, unwrap
Methods inherited from class org.apache.lucene.index.DirectoryReader
directory, indexExists, listCommits, open, open, open, open, open, open, openIfChanged, openIfChanged, openIfChanged, openIfChanged
Methods inherited from class org.apache.lucene.index.BaseCompositeReader
docFreq, document, getDocCount, getSequentialSubReaders, getSumDocFreq, getSumTotalTermFreq, getTermVectors, maxDoc, numDocs, readerBase, readerIndex, totalTermFreq
Methods inherited from class org.apache.lucene.index.CompositeReader
getContext, toString
Methods inherited from class org.apache.lucene.index.IndexReader
close, decRef, document, document, ensureOpen, equals, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, tryIncRef
-
Constructor Details
-
MatchingDirectoryReader
public MatchingDirectoryReader(DirectoryReader in, org.apache.lucene.search.Query query) throws IOException - Throws:
IOException
-
-
Method Details
-
doWrapDirectoryReader
- Specified by:
doWrapDirectoryReader
in classFilterDirectoryReader
- Throws:
IOException
-
getReaderCacheHelper
- Specified by:
getReaderCacheHelper
in classIndexReader
-