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 | Typedefs
FieldCacheSanityChecker.cs File Reference

Go to the source code of this file.

Classes

class  Lucene.Net.Util.FieldCacheSanityChecker
 Provides methods for sanity checking that entries in the FieldCache are not wasteful or inconsistent. Lucene 2.9 Introduced numerous enhancements into how the FieldCache is used by the low levels of Lucene searching (for Sorting and ValueSourceQueries) to improve both the speed for Sorting, as well as reopening of IndexReaders. But these changes have shifted the usage of FieldCache from "top level" IndexReaders (frequently a MultiReader or DirectoryReader) down to the leaf level SegmentReaders. As a result, existing applications that directly access the FieldCache may find RAM usage increase significantly when upgrading to 2.9 or Later. This class provides an API for these applications (or their Unit tests) to check at run time if the FieldCache contains "insane" usages of the FieldCache. EXPERIMENTAL API: This API is considered extremely advanced and experimental. It may be removed or altered w/o warning in future releases of Lucene. More...
 
class  Lucene.Net.Util.FieldCacheSanityChecker.Insanity
 Simple container for a collection of related CacheEntry objects that in conjunction with eachother represent some "insane" usage of the FieldCache. More...
 
class  Lucene.Net.Util.FieldCacheSanityChecker.InsanityType
 An Enumaration of the differnet types of "insane" behavior that may be detected in a FieldCache. More...
 

Namespaces

package  Lucene.Net.Util
 

Typedefs

using IndexReader = Lucene.Net.Index.IndexReader
 
using FieldCache = Lucene.Net.Search.FieldCache
 
using CacheEntry = Lucene.Net.Search.CacheEntry
 

Typedef Documentation

Definition at line 23 of file FieldCacheSanityChecker.cs.

Definition at line 22 of file FieldCacheSanityChecker.cs.

Definition at line 21 of file FieldCacheSanityChecker.cs.