Custom cache with two levels of keys, outer key is the IndexReader with the inner key being a string, commonly a field name but can be anything. Refer to the unit tests for an example implementation. The type that is being cached.

Namespace: Lucene.Net.Util.Cache
Assembly: Lucene.Net.Contrib.Core (in Lucene.Net.Contrib.Core.dll) Version: 2.9.2.0 (2.9.2)

Syntax

C#
public abstract class SegmentCache<T> : AbstractSegmentCache
Visual Basic
Public MustInherit Class SegmentCache(Of T) _
	Inherits AbstractSegmentCache
Visual C++
generic<typename T>
public ref class SegmentCache abstract : public AbstractSegmentCache

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:Lucene.Net.Util.Cache.SegmentCache`1"]

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Util.Cache..::..AbstractSegmentCache
    Lucene.Net.Util.Cache..::..SegmentCache<(Of <(<'T>)>)>

See Also