Modifier and Type | Class and Description |
---|---|
static class |
Suggest.Suggestion.Entry<O extends Suggest.Suggestion.Entry.Option>
Represents a part from the suggest text with suggested options.
|
Modifier and Type | Method and Description |
---|---|
<T extends Suggest.Suggestion<? extends Suggest.Suggestion.Entry<? extends Suggest.Suggestion.Entry.Option>>> |
Suggest.getSuggestion(String name) |
Modifier and Type | Method and Description |
---|---|
Suggest.Suggestion<? extends Suggest.Suggestion.Entry<? extends Suggest.Suggestion.Entry.Option>> |
Suggester.execute(String name,
T suggestion,
org.apache.lucene.index.IndexReader indexReader,
org.apache.lucene.util.CharsRefBuilder spare) |
protected abstract Suggest.Suggestion<? extends Suggest.Suggestion.Entry<? extends Suggest.Suggestion.Entry.Option>> |
Suggester.innerExecute(String name,
T suggestion,
org.apache.lucene.index.IndexReader indexReader,
org.apache.lucene.util.CharsRefBuilder spare) |
Iterator<Suggest.Suggestion<? extends Suggest.Suggestion.Entry<? extends Suggest.Suggestion.Entry.Option>>> |
Suggest.iterator() |
static List<Suggest.Suggestion<? extends Suggest.Suggestion.Entry<? extends Suggest.Suggestion.Entry.Option>>> |
Suggest.reduce(Map<String,List<Suggest.Suggestion>> groupedSuggestions) |
protected Comparator<Suggest.Suggestion.Entry.Option> |
Suggest.Suggestion.sortComparator() |
Modifier and Type | Method and Description |
---|---|
protected void |
Suggest.Suggestion.Entry.Option.mergeInto(Suggest.Suggestion.Entry.Option otherOption) |
Constructor and Description |
---|
Suggest(List<Suggest.Suggestion<? extends Suggest.Suggestion.Entry<? extends Suggest.Suggestion.Entry.Option>>> suggestions) |
Suggest(XContentBuilderString name,
List<Suggest.Suggestion<? extends Suggest.Suggestion.Entry<? extends Suggest.Suggestion.Entry.Option>>> suggestions) |
Modifier and Type | Class and Description |
---|---|
static class |
CompletionSuggestion.Entry.Option |
Modifier and Type | Method and Description |
---|---|
protected Suggest.Suggestion<? extends Suggest.Suggestion.Entry<? extends Suggest.Suggestion.Entry.Option>> |
CompletionSuggester.innerExecute(String name,
CompletionSuggestionContext suggestionContext,
org.apache.lucene.index.IndexReader indexReader,
org.apache.lucene.util.CharsRefBuilder spare) |
Modifier and Type | Method and Description |
---|---|
Suggest.Suggestion<? extends Suggest.Suggestion.Entry<? extends Suggest.Suggestion.Entry.Option>> |
PhraseSuggester.innerExecute(String name,
org.elasticsearch.search.suggest.phrase.PhraseSuggestionContext suggestion,
org.apache.lucene.index.IndexReader indexReader,
org.apache.lucene.util.CharsRefBuilder spare) |
Modifier and Type | Method and Description |
---|---|
void |
PhraseSuggestion.Entry.addOption(Suggest.Suggestion.Entry.Option option) |
Modifier and Type | Method and Description |
---|---|
protected void |
PhraseSuggestion.Entry.merge(Suggest.Suggestion.Entry<Suggest.Suggestion.Entry.Option> other) |
Modifier and Type | Class and Description |
---|---|
static class |
TermSuggestion.Entry.Option
Contains the suggested text with its document frequency and score.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<Suggest.Suggestion.Entry.Option> |
TermSuggestion.FREQUENCY |
static Comparator<Suggest.Suggestion.Entry.Option> |
TermSuggestion.SCORE |
Modifier and Type | Method and Description |
---|---|
protected Comparator<Suggest.Suggestion.Entry.Option> |
TermSuggestion.sortComparator() |
Modifier and Type | Method and Description |
---|---|
int |
TermSuggestion.Score.compare(Suggest.Suggestion.Entry.Option first,
Suggest.Suggestion.Entry.Option second) |
int |
TermSuggestion.Frequency.compare(Suggest.Suggestion.Entry.Option first,
Suggest.Suggestion.Entry.Option second) |
protected void |
TermSuggestion.Entry.Option.mergeInto(Suggest.Suggestion.Entry.Option otherOption) |
Copyright © 2009–2015. All rights reserved.