public abstract static class VariableGapTermsIndexWriter.IndexTermSelector extends Object
newField(org.apache.lucene.index.FieldInfo)
is called at the start of each new field, and
isIndexTerm(org.apache.lucene.util.BytesRef, org.apache.lucene.codecs.TermStats)
for each term in that field.
Constructor and Description |
---|
IndexTermSelector() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isIndexTerm(BytesRef term,
TermStats stats)
Called sequentially on every term being written,
returning true if this term should be indexed
|
abstract void |
newField(FieldInfo fieldInfo)
Called when a new field is started.
|
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.