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