Class VariableGapTermsIndexWriter.IndexTermSelector
Hook for selecting which terms should be placed in the terms index.
New
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
VariableGapTermsIndexWriter.IndexTermSelector
Namespace: Lucene.Net.Codecs.BlockTerms
Assembly: Lucene.Net.Codecs.dll
Syntax
public abstract class IndexTermSelector : object
Methods
| Improve this Doc View SourceIsIndexTerm(BytesRef, TermStats)
Called sequentially on every term being written,
returning true
if this term should be indexed.
Declaration
public abstract bool IsIndexTerm(BytesRef term, TermStats stats)
Parameters
Returns
Type | Description |
---|---|
System. |
NewField(FieldInfo)
Called when a new field is started.
Declaration
public abstract void NewField(FieldInfo fieldInfo)
Parameters
Type | Name | Description |
---|---|---|
Field |
fieldInfo |