public static class CompletionSuggestion.Entry.Option<T> extends Suggest.Suggestion.Entry.Option
| Constructor and Description |
|---|
Option(String text,
String highlighted,
float score,
Boolean collateMatch,
Map<String,Set<String>> contexts,
ScoreDoc scoreDoc,
SearchDocument searchDocument,
T hitEntity) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Set<String>> |
getContexts() |
ScoreDoc |
getScoreDoc() |
SearchHit<T> |
getSearchHit() |
void |
updateSearchHit(BiFunction<SearchDocument,T,SearchHit<T>> mapper) |
getCollateMatch, getHighlighted, getScore, getTextCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.