public static final class VariableGapTermsIndexWriter.EveryNOrDocFreqTermSelector extends VariableGapTermsIndexWriter.IndexTermSelector
Constructor and Description |
---|
EveryNOrDocFreqTermSelector(int docFreqThresh,
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 EveryNOrDocFreqTermSelector(int docFreqThresh, 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-2021 Apache Software Foundation. All Rights Reserved.