public class CompletionSuggester extends BaseSuggester
Suggester.Sort, Suggester.StringDistance, Suggester.SuggestMode
Constructor and Description |
---|
CompletionSuggester(String name,
String field,
String value) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(SuggesterVisitor<T> suggesterVisitor) |
String |
getAnalyzer() |
Integer |
getShardSize() |
Integer |
getSize() |
void |
setAnalyzer(String analyzer) |
void |
setShardSize(Integer shardSize) |
void |
setSize(Integer size) |
getField, getName, getValue, setValue
public CompletionSuggester(String name, String field, String value)
public <T> T accept(SuggesterVisitor<T> suggesterVisitor)
public String getAnalyzer()
public Integer getShardSize()
public Integer getSize()
public void setAnalyzer(String analyzer)
public void setShardSize(Integer shardSize)
public void setSize(Integer size)