Package org.opensearch.search.suggest
Class SuggestionSearchContext
java.lang.Object
org.opensearch.search.suggest.SuggestionSearchContext
public class SuggestionSearchContext
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SuggestionSearchContext.SuggestionContext
-
Constructor Summary
Constructors Constructor Description SuggestionSearchContext()
-
Method Summary
Modifier and Type Method Description void
addSuggestion(java.lang.String name, SuggestionSearchContext.SuggestionContext suggestion)
java.util.Map<java.lang.String,SuggestionSearchContext.SuggestionContext>
suggestions()
-
Constructor Details
-
SuggestionSearchContext
public SuggestionSearchContext()
-
-
Method Details
-
addSuggestion
public void addSuggestion(java.lang.String name, SuggestionSearchContext.SuggestionContext suggestion) -
suggestions
-