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)
|
Modifier and Type | Method and Description |
---|---|
Collection<Accountable> |
getChildResources()
Returns nested resources of this class.
|
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
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()
Accountable
ramBytesUsed
in interface Accountable
public Collection<Accountable> getChildResources()
Accountable
getChildResources
in interface Accountable
Accountables
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.