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...)

Namespace: Lucene.Net.Util
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public static readonly FieldCacheSanityChecker..::..InsanityType VALUEMISMATCH
Visual Basic
Public Shared ReadOnly VALUEMISMATCH As FieldCacheSanityChecker..::..InsanityType
Visual C++
public:
static initonly FieldCacheSanityChecker..::..InsanityType^ VALUEMISMATCH

See Also