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.
|
An Enumaration of the differnet types of "insane" behavior that may be detected in a FieldCache. More...
Public Member Functions | |
override System.String | ToString () |
Static Public Attributes | |
static readonly InsanityType | SUBREADER = new InsanityType("SUBREADER") |
Indicates an overlap in cache usage on a given field in sub/super readers. | |
static readonly InsanityType | VALUEMISMATCH = new InsanityType("VALUEMISMATCH") |
Indicates entries have the same reader+fieldname but different cached values. This can happen if different datatypes, or parsers are used – and while it's not necessarily a bug it's typically an indication of a possible problem. PNOTE: Only the reader, fieldname, and cached value are actually tested – if two cache entries have different parsers or datatypes but the cached values are the same Object (== not just equal()) this method does not consider that a red flag. This allows for subtle variations in the way a Parser is specified (null vs DEFAULT_LONG_PARSER, etc...) | |
static readonly InsanityType | EXPECTED = new InsanityType("EXPECTED") |
Indicates an expected bit of "insanity". This may be useful for clients that wish to preserve/log information about insane usage but indicate that it was expected. | |
An Enumaration of the differnet types of "insane" behavior that may be detected in a FieldCache.
Definition at line 399 of file FieldCacheSanityChecker.cs.
override System.String Lucene.Net.Util.FieldCacheSanityChecker.InsanityType.ToString | ( | ) |
Definition at line 406 of file FieldCacheSanityChecker.cs.
|
static |
Indicates an expected bit of "insanity". This may be useful for clients that wish to preserve/log information about insane usage but indicate that it was expected.
Definition at line 436 of file FieldCacheSanityChecker.cs.
|
static |
Indicates an overlap in cache usage on a given field in sub/super readers.
Definition at line 414 of file FieldCacheSanityChecker.cs.
|
static |
Indicates entries have the same reader+fieldname but different cached values. This can happen if different datatypes, or parsers are used – and while it's not necessarily a bug it's typically an indication of a possible problem. PNOTE: Only the reader, fieldname, and cached value are actually tested – if two cache entries have different parsers or datatypes but the cached values are the same Object (== not just equal()) this method does not consider that a red flag. This allows for subtle variations in the way a Parser is specified (null vs DEFAULT_LONG_PARSER, etc...)
Definition at line 430 of file FieldCacheSanityChecker.cs.