C# 클래스 Lucene.Net.Codecs.BlockTerms.VariableGapTermsIndexWriter

Selects index terms according to provided pluggable {@link IndexTermSelector}, and stores them in a prefix trie that's loaded entirely in RAM stored as an FST. This terms index only supports unsigned byte term sort order (unicode codepoint order when the bytes are UTF8). @lucene.experimental
상속: Lucene.Net.Codecs.BlockTerms.TermsIndexWriterBase
파일 보기 프로젝트 열기: paulirwin/lucene.net 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
Output IndexOutput

공개 메소드들

메소드 설명
AddField ( FieldInfo field, long termsFilePointer ) : FieldWriter
Dispose ( ) : void
VariableGapTermsIndexWriter ( SegmentWriteState state, IndexTermSelector policy ) : System

보호된 메소드들

메소드 설명
IndexedTermPrefixLength ( BytesRef priorTerm, BytesRef indexedTerm ) : int Note: If your codec does not sort in unicode code point order, you must override this method to simplly return IndexedTerm.Length

비공개 메소드들

메소드 설명
WriteHeader ( IndexOutput output ) : void
WriteTrailer ( long dirStart ) : void

메소드 상세

AddField() 공개 메소드

public AddField ( FieldInfo field, long termsFilePointer ) : FieldWriter
field FieldInfo
termsFilePointer long
리턴 FieldWriter

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

IndexedTermPrefixLength() 보호된 메소드

Note: If your codec does not sort in unicode code point order, you must override this method to simplly return IndexedTerm.Length
protected IndexedTermPrefixLength ( BytesRef priorTerm, BytesRef indexedTerm ) : int
priorTerm BytesRef
indexedTerm BytesRef
리턴 int

VariableGapTermsIndexWriter() 공개 메소드

public VariableGapTermsIndexWriter ( SegmentWriteState state, IndexTermSelector policy ) : System
state SegmentWriteState
policy IndexTermSelector
리턴 System

프로퍼티 상세

Output 보호되어 있는 프로퍼티

protected IndexOutput Output
리턴 IndexOutput