C# Class Lucene.Net.Codecs.Memory.MemoryPostingsFormat.TermsWriter

Inheritance: TermsConsumer
Show file Open project: paulirwin/lucene.net Class Usage Examples

Public Methods

Method Description
TermsWriter ( IndexOutput @out, FieldInfo field, bool doPackFST, float acceptableOverheadRatio ) : System
finish ( long sumTotalTermFreq, long sumDocFreq, int docCount ) : void
finishTerm ( BytesRef text, TermStats stats ) : void
startTerm ( BytesRef text ) : PostingsConsumer

Private Methods

Method Description
InitializeInstanceFields ( ) : void

Method Details

TermsWriter() public method

public TermsWriter ( IndexOutput @out, FieldInfo field, bool doPackFST, float acceptableOverheadRatio ) : System
@out IndexOutput
field FieldInfo
doPackFST bool
acceptableOverheadRatio float
return System

finish() public method

public finish ( long sumTotalTermFreq, long sumDocFreq, int docCount ) : void
sumTotalTermFreq long
sumDocFreq long
docCount int
return void

finishTerm() public method

public finishTerm ( BytesRef text, TermStats stats ) : void
text BytesRef
stats TermStats
return void

startTerm() public method

public startTerm ( BytesRef text ) : PostingsConsumer
text BytesRef
return PostingsConsumer