public final class CompletionsTermsReader extends Object implements Accountable
| Modifier and Type | Field and Description |
|---|---|
long |
maxWeight
Maximum entry weight for the suggester
|
long |
minWeight
Minimum entry weight for the suggester
|
byte |
type
type of suggester (context-enabled or not)
|
NULL_ACCOUNTABLE| Modifier and Type | Method and Description |
|---|---|
Collection<Accountable> |
getChildResources() |
long |
ramBytesUsed() |
NRTSuggester |
suggester()
Returns the suggester for a field, if not loaded already, loads
the appropriate suggester from CompletionDictionary
|
public final long minWeight
public final long maxWeight
public final byte type
public NRTSuggester suggester() throws IOException
IOExceptionpublic long ramBytesUsed()
ramBytesUsed in interface Accountablepublic Collection<Accountable> getChildResources()
getChildResources in interface AccountableCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.