public static final class VariableGapTermsIndexWriter.EveryNTermSelector extends VariableGapTermsIndexWriter.IndexTermSelector
FixedGapTermsIndexWriter
Constructor and Description |
---|
VariableGapTermsIndexWriter.EveryNTermSelector(int interval) |
Modifier and Type | Method and Description |
---|---|
boolean |
isIndexTerm(BytesRef term,
TermStats stats)
Called sequentially on every term being written,
returning true if this term should be indexed
|
void |
newField(FieldInfo fieldInfo)
Called when a new field is started.
|
public VariableGapTermsIndexWriter.EveryNTermSelector(int interval)
public boolean isIndexTerm(BytesRef term, TermStats stats)
VariableGapTermsIndexWriter.IndexTermSelector
isIndexTerm
in class VariableGapTermsIndexWriter.IndexTermSelector
public void newField(FieldInfo fieldInfo)
VariableGapTermsIndexWriter.IndexTermSelector
newField
in class VariableGapTermsIndexWriter.IndexTermSelector
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.