Class SlowCompositeReaderWrapper
This class forces a composite reader (eg a MultiReader or DirectoryReader) to emulate an atomic reader. This requires implementing the postings APIs on-the-fly, using the static methods in MultiFields, MultiDocValues, by stepping through the sub-readers to merge fields/terms, appending docs, etc.
NOTE: This class almost always results in a performance hit. If this is important to your use case, you'll get better performance by gathering the sub readers using Context to get the atomic leaves and then operate per-AtomicReader, instead of using this class.
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public sealed class SlowCompositeReaderWrapper : AtomicReader, IIdentifiableSurrogate
Properties
Name | Description |
---|---|
CombinedCoreAndDeletesKey | |
CoreCacheKey | |
FieldInfos | |
Fields | |
LiveDocs | |
MaxDoc | |
NumDocs |
Methods
Name | Description |
---|---|
CheckIntegrity() | |
DoClose() | |
Document(Int64, StoredFieldVisitor) | |
GetBinaryDocValues(String) | |
GetDocsWithField(String) | |
GetNormValues(String) | |
GetNumericDocValues(String) | |
GetSortedDocValues(String) | |
GetSortedSetDocValues(String) | |
GetTermVectors(Int64) | |
ToString() | |
Wrap(IndexReader) | This method is sugar for getting an AtomicReader from an IndexReader of any kind. If the reader is already atomic, it is returned unchanged, otherwise wrapped by this class. |