Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Classes | Namespaces
SegmentCache.cs File Reference

Go to the source code of this file.

Classes

class  Lucene.Net.Util.Cache.AbstractSegmentCache
 Root custom cache to allow a factory to retain references to the custom caches without having to be aware of the type. More...
 
class  Lucene.Net.Util.Cache.SegmentCache< T >
 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.

Template Parameters
TThe type that is being cached.
More...
 
class  Lucene.Net.Util.Cache.SegmentCache< T >.WeakKey
 A weak referene wrapper for the hashtable keys. Whenever a key pair is added to the hashtable, the key is wrapped using a WeakKey. WeakKey saves the value of the original object hashcode for fast comparison.
 

Namespaces

package  Lucene.Net.Util.Cache