|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.index.IndexReader org.apache.lucene.index.MultiReader org.apache.lucene.index.SlowMultiReaderWrapper
public class SlowMultiReaderWrapper
Acts like Lucene 4.x's SlowMultiReaderWrapper for testing of top-level MultiTermEnum, MultiTermDocs, ...
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.lucene.index.IndexReader |
---|
IndexReader.ReaderClosedListener |
Field Summary |
---|
Fields inherited from class org.apache.lucene.index.MultiReader |
---|
starts, subReaders |
Fields inherited from class org.apache.lucene.index.IndexReader |
---|
hasChanges |
Constructor Summary | |
---|---|
SlowMultiReaderWrapper(IndexReader reader)
|
Method Summary | |
---|---|
FieldInfos |
getFieldInfos()
Get the FieldInfos describing all fields in
this reader. |
IndexReader[] |
getSequentialSubReaders()
Expert: returns the sequential sub readers that this reader is logically composed of. |
String |
toString()
|
Methods inherited from class org.apache.lucene.index.MultiReader |
---|
clone, clone, docFreq, doClose, doCommit, document, doDelete, doOpenIfChanged, doOpenIfChanged, doSetNorm, doUndeleteAll, getTermFreqVector, getTermFreqVector, getTermFreqVector, getTermFreqVectors, getVersion, hasDeletions, hasNorms, isCurrent, isDeleted, isOptimized, maxDoc, norms, norms, numDocs, readerIndex, termDocs, termDocs, termPositions, terms, terms |
Methods inherited from class org.apache.lucene.index.IndexReader |
---|
acquireWriteLock, addReaderClosedListener, close, commit, commit, decRef, deleteDocument, deleteDocuments, directory, document, doOpenIfChanged, doOpenIfChanged, ensureOpen, flush, flush, getCommitUserData, getCommitUserData, getCoreCacheKey, getCurrentVersion, getDeletesCacheKey, getIndexCommit, getRefCount, getTermInfosIndexDivisor, getUniqueTermCount, incRef, indexExists, lastModified, listCommits, numDeletedDocs, open, open, open, open, open, open, open, open, open, open, open, openIfChanged, openIfChanged, openIfChanged, openIfChanged, removeReaderClosedListener, reopen, reopen, reopen, reopen, setNorm, setNorm, termPositions, tryIncRef, undeleteAll |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SlowMultiReaderWrapper(IndexReader reader)
Method Detail |
---|
public IndexReader[] getSequentialSubReaders()
IndexReader
NOTE: You should not try using sub-readers returned by
this method to make any changes (setNorm, deleteDocument,
etc.). While this might succeed for one composite reader
(like MultiReader), it will most likely lead to index
corruption for other readers (like DirectoryReader obtained
through IndexReader.open(org.apache.lucene.store.Directory)
. Use the parent reader directly.
getSequentialSubReaders
in class MultiReader
public String toString()
IndexReader
toString
in class IndexReader
public FieldInfos getFieldInfos()
IndexReader
FieldInfos
describing all fields in
this reader. NOTE: do not make any changes to the
returned FieldInfos!
getFieldInfos
in class MultiReader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |