public final class CompletionTerms
extends FilterLeafReader.FilterTerms
org.apache.lucene.index.Terms
used by SuggestField and ContextSuggestField
to access corresponding suggester and their attributes| Modifier and Type | Method and Description |
|---|---|
long |
getMaxWeight()
Returns the maximum weight of all entries in the weighted FST
|
long |
getMinWeight()
Returns the minimum weight of all entries in the weighted FST
|
byte |
getType()
Returns the type of FST, either
SuggestField.TYPE or
ContextSuggestField.TYPE |
NRTSuggester |
suggester()
Returns a
NRTSuggester for the field
or null if no FST
was indexed for this field |
public byte getType()
SuggestField.TYPE or
ContextSuggestField.TYPEpublic long getMinWeight()
public long getMaxWeight()
public NRTSuggester suggester() throws java.io.IOException
NRTSuggester for the field
or null if no FST
was indexed for this fieldjava.io.IOExceptionData In Motion GmbH all rights reserved