Class VariableGapTermsIndexWriter.EveryNTermSelector
Inheritance
VariableGapTermsIndexWriter.EveryNTermSelector
Inherited Members
Namespace: Lucene.Net.Codecs.BlockTerms
Assembly: Lucene.Net.Codecs.dll
Syntax
public sealed class VariableGapTermsIndexWriter.EveryNTermSelector : VariableGapTermsIndexWriter.IndexTermSelector
Remarks
Same policy as FixedGapTermsIndexWriter
Constructors
EveryNTermSelector(int)
Declaration
public EveryNTermSelector(int interval)
Parameters
Type | Name | Description |
---|---|---|
int | interval |
Remarks
Same policy as FixedGapTermsIndexWriter
Methods
IsIndexTerm(BytesRef, TermStats)
Called sequentially on every term being written,
returning true
if this term should be indexed.
Declaration
public override bool IsIndexTerm(BytesRef term, TermStats stats)
Parameters
Type | Name | Description |
---|---|---|
BytesRef | term | |
TermStats | stats |
Returns
Type | Description |
---|---|
bool |
Overrides
Remarks
Same policy as FixedGapTermsIndexWriter
NewField(FieldInfo)
Called when a new field is started.
Declaration
public override void NewField(FieldInfo fieldInfo)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | fieldInfo |
Overrides
Remarks
Same policy as FixedGapTermsIndexWriter