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

Inheritance: PostingsConsumer
Datei anzeigen Open project: paulirwin/lucene.net

Public Methods

Method Description
PostingsWriter ( MemoryPostingsFormat outerInstance ) : System
StartDoc ( int docID, int termDocFreq ) : void
addPosition ( int pos, BytesRef payload, int startOffset, int endOffset ) : void
finishDoc ( ) : void
reset ( ) : PostingsWriter

Method Details

PostingsWriter() public method

public PostingsWriter ( MemoryPostingsFormat outerInstance ) : System
outerInstance MemoryPostingsFormat
return System

StartDoc() public method

public StartDoc ( int docID, int termDocFreq ) : void
docID int
termDocFreq int
return void

addPosition() public method

public addPosition ( int pos, BytesRef payload, int startOffset, int endOffset ) : void
pos int
payload BytesRef
startOffset int
endOffset int
return void

finishDoc() public method

public finishDoc ( ) : void
return void

reset() public method

public reset ( ) : PostingsWriter
return PostingsWriter