public abstract class Suggester extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Suggester.Hint |
static class |
Suggester.SuggestionInfo |
| Modifier and Type | Field and Description |
|---|---|
protected EnumMap<Suggester.Hint,Object> |
hints |
protected List<Violation> |
originalViolations |
| Constructor and Description |
|---|
Suggester() |
| Modifier and Type | Method and Description |
|---|---|
Suggester |
forceOperation(boolean force)
Normally, only less loaded nodes are used for moving replicas.
|
Policy.Session |
getSession() |
SolrRequest |
getSuggestion() |
Suggester |
hint(Suggester.Hint hint,
Object value) |
protected boolean |
isAllowed(Object v,
Suggester.Hint hint) |
protected final EnumMap<Suggester.Hint,Object> hints
public Suggester hint(Suggester.Hint hint, Object value)
public Suggester forceOperation(boolean force)
public SolrRequest getSuggestion()
public Policy.Session getSession()
protected boolean isAllowed(Object v, Suggester.Hint hint)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.