public class PhraseSuggestion extends Suggest.Suggestion<PhraseSuggestion.Entry>
PhraseSuggester
.Modifier and Type | Class and Description |
---|---|
static class |
PhraseSuggestion.Entry |
Suggest.Suggestion.Sort
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static int |
TYPE |
entries, name, size
EMPTY_PARAMS
Constructor and Description |
---|
PhraseSuggestion() |
PhraseSuggestion(String name,
int size) |
Modifier and Type | Method and Description |
---|---|
int |
getType() |
protected PhraseSuggestion.Entry |
newEntry() |
addTerm, getEntries, getName, innerReadFrom, innerWriteTo, iterator, readFrom, reduce, sortComparator, toXContent, trim, writeTo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static final int TYPE
public PhraseSuggestion()
public PhraseSuggestion(String name, int size)
public int getType()
getType
in class Suggest.Suggestion<PhraseSuggestion.Entry>
protected PhraseSuggestion.Entry newEntry()
newEntry
in class Suggest.Suggestion<PhraseSuggestion.Entry>
Copyright © 2009–2016. All rights reserved.