public abstract class Suggester extends Object implements MapWriter
Modifier and Type | Class and Description |
---|---|
static class |
Suggester.Hint
Deprecated.
|
static class |
Suggester.SuggestionInfo
Deprecated.
|
MapWriter.EntryWriter
Modifier and Type | Field and Description |
---|---|
protected EnumMap<Suggester.Hint,Object> |
hints
Deprecated.
|
protected List<Violation> |
originalViolations
Deprecated.
|
Constructor and Description |
---|
Suggester()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String |
findWithCollection(Set<String> collections,
Set<Pair<String,String>> s)
Deprecated.
|
Suggester |
forceOperation(boolean force)
Deprecated.
Normally, only less loaded nodes are used for moving replicas.
|
CollectionParams.CollectionAction |
getAction()
Deprecated.
|
Policy.Session |
getSession()
Deprecated.
|
SolrRequest |
getSuggestion()
Deprecated.
|
protected Optional<String> |
getWithCollection(String collectionName)
Deprecated.
|
Suggester |
hint(Suggester.Hint hint,
Object value)
Deprecated.
|
protected boolean |
isAllowed(Object v,
Suggester.Hint hint)
Deprecated.
|
protected boolean |
isNodeSuitableForReplicaAddition(Row targetRow,
Row srcRow)
Deprecated.
|
protected Collection |
setupWithCollectionTargetNodes(Set<String> collections,
Set<Pair<String,String>> s,
String withCollection)
Deprecated.
|
String |
toString()
Deprecated.
|
void |
writeMap(MapWriter.EntryWriter ew)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
protected final EnumMap<Suggester.Hint,Object> hints
public Suggester hint(Suggester.Hint hint, Object value)
public CollectionParams.CollectionAction getAction()
public Suggester forceOperation(boolean force)
protected boolean isNodeSuitableForReplicaAddition(Row targetRow, Row srcRow)
public SolrRequest getSuggestion()
protected Optional<String> getWithCollection(String collectionName) throws IOException
IOException
public Policy.Session getSession()
protected boolean isAllowed(Object v, Suggester.Hint hint)
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap
in interface MapWriter
IOException
protected Collection setupWithCollectionTargetNodes(Set<String> collections, Set<Pair<String,String>> s, String withCollection)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.