Class FCInvisibleMultiReader
This is a Lucene.Net.Index.MultiReader that can be used for randomly wrapping other readers without creating Lucene.Net.Search.FieldCache insanity. The trick is to use an opaque/fake cache key.
Inheritance
Implements
Inherited Members
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class FCInvisibleMultiReader : MultiReader, IDisposable
Constructors
FCInvisibleMultiReader(params IndexReader[])
This is a Lucene.Net.Index.MultiReader that can be used for randomly wrapping other readers without creating Lucene.Net.Search.FieldCache insanity. The trick is to use an opaque/fake cache key.
Declaration
public FCInvisibleMultiReader(params IndexReader[] readers)
Parameters
Type | Name | Description |
---|---|---|
IndexReader[] | readers |
Properties
CombinedCoreAndDeletesKey
Expert: Returns a key for this Lucene.Net.Index.IndexReader that also includes deletions, so Lucene.Net.Search.IFieldCache/Lucene.Net.Search.CachingWrapperFilter can find it again. This key must not have Equals()/GetHashCode() methods, so "equals" means "identical".
Declaration
public override object CombinedCoreAndDeletesKey { get; }
Property Value
Type | Description |
---|---|
object |
Overrides
CoreCacheKey
Expert: Returns a key for this Lucene.Net.Index.IndexReader, so Lucene.Net.Search.FieldCache/Lucene.Net.Search.CachingWrapperFilter can find it again. This key must not have Equals()/GetHashCode() methods, so "equals" means "identical".
Declaration
public override object CoreCacheKey { get; }
Property Value
Type | Description |
---|---|
object |