C# Class Lucene.Net.Codecs.BlockTerms.VariableGapTermsIndexWriter.EveryNOrDocFreqTermSelector

Sets an index term when docFreq >= docFreqThresh, or every interval terms. This should reduce seek time to high docFreq terms.
Inheritance: IndexTermSelector
Datei anzeigen Open project: paulirwin/lucene.net

Public Methods

Method Description
EveryNOrDocFreqTermSelector ( int docFreqThresh, int interval ) : System
IsIndexTerm ( BytesRef term, TermStats stats ) : bool
NewField ( FieldInfo fieldInfo ) : void

Method Details

EveryNOrDocFreqTermSelector() public method

public EveryNOrDocFreqTermSelector ( int docFreqThresh, int interval ) : System
docFreqThresh int
interval int
return System

IsIndexTerm() public method

public IsIndexTerm ( BytesRef term, TermStats stats ) : bool
term BytesRef
stats TermStats
return bool

NewField() public method

public NewField ( FieldInfo fieldInfo ) : void
fieldInfo FieldInfo
return void