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
IOException
public long ramBytesUsed()
ramBytesUsed
in interface Accountable
public Collection<Accountable> getChildResources()
getChildResources
in interface Accountable
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.