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

Hook for selecting which terms should be placed in the terms index IsIndexTerm for each term in that field NewField is called at the start of each new field @lucene.experimental
Show file Open project: paulirwin/lucene.net

Public Methods

Method Description
IsIndexTerm ( BytesRef term, TermStats stats ) : bool

Called sequentially on every term being written returning true if this term should be indexed

NewField ( FieldInfo fieldInfo ) : void

Called when a new field is started

Method Details

IsIndexTerm() public abstract method

Called sequentially on every term being written returning true if this term should be indexed
public abstract IsIndexTerm ( BytesRef term, TermStats stats ) : bool
term BytesRef
stats TermStats
return bool

NewField() public abstract method

Called when a new field is started
public abstract NewField ( FieldInfo fieldInfo ) : void
fieldInfo FieldInfo
return void