Class FilterAtomicReader
A FilterAtomicReader contains another AtomicReader, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality. The class FilterAtomicReader itself simply implements all abstract methods of IndexReader with versions that pass all requests to the contained index reader. Subclasses of FilterAtomicReader may further override some of these methods and may also provide additional methods and fields.
NOTE: If you override LiveDocs, you will likely need to override IntNumDocs as well and vice-versa.
NOTE: If this FilterAtomicReader does not change the content the contained reader, you could consider overriding CoreCacheKey so that IFieldCache and CachingWrapperFilter share the same entries for this atomic reader and the wrapped one. CombinedCoreAndDeletesKey could be overridden as well if the LiveDocs are not changed either.
Inherited Members
Assembly: Lucene.Net.dll
Syntax
[Serializable]
public class FilterAtomicReader : AtomicReader, IDisposable
Constructors
Name | Description |
---|---|
FilterAtomicReader(AtomicReader) | Construct a FilterAtomicReader based on the specified base reader. Note that base reader is closed if this FilterAtomicReader is closed. |
Fields
Name | Description |
---|---|
m_input | The underlying AtomicReader. |
Properties
Name | Description |
---|---|
FieldInfos | |
Fields | |
IntMaxDoc | |
IntNumDocs | |
LiveDocs |
Methods
Name | Description |
---|---|
CheckIntegrity() | |
Dispose() | |
DoClose() | |
Document(Int32, StoredFieldVisitor) | |
GetBinaryDocValues(String) | |
GetDocsWithField(String) | |
GetNormValues(String) | |
GetNumericDocValues(String) | |
GetSortedDocValues(String) | |
GetSortedSetDocValues(String) | |
GetTermVectors(Int32) | |
ToString() | |
Unwrap(AtomicReader) | Get the wrapped instance by |