C# 클래스 Lucene.Net.Util.FieldCacheSanityChecker.InsanityType

An Enumeration of the different types of "insane" behavior that may be detected in a FieldCache.
파일 보기 프로젝트 열기: apache/lucenenet

공개 프로퍼티들

프로퍼티 타입 설명
EXPECTED InsanityType
SUBREADER InsanityType
VALUEMISMATCH InsanityType

공개 메소드들

메소드 설명
ToString ( ) : string

비공개 메소드들

메소드 설명
InsanityType ( string label ) : System.Collections.Generic

메소드 상세

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

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.
public static InsanityType EXPECTED
리턴 InsanityType

SUBREADER 공개적으로 정적으로 프로퍼티

Indicates an overlap in cache usage on a given field in sub/super readers.
public static InsanityType SUBREADER
리턴 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.

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

public static InsanityType VALUEMISMATCH
리턴 InsanityType