Class AutocompleteItem
java.lang.Object
com.azure.search.documents.models.AutocompleteItem
The result of Autocomplete requests.
-
Constructor Summary
ConstructorsConstructorDescriptionAutocompleteItem
(String text, String queryPlusText) Creates an instance of AutocompleteItem class. -
Method Summary
Modifier and TypeMethodDescriptionGet the queryPlusText property: The query along with the completed term.getText()
Get the text property: The completed term.
-
Constructor Details
-
AutocompleteItem
Creates an instance of AutocompleteItem class.- Parameters:
text
- the text value to set.queryPlusText
- the queryPlusText value to set.
-
-
Method Details
-
getText
Get the text property: The completed term.- Returns:
- the text value.
-
getQueryPlusText
Get the queryPlusText property: The query along with the completed term.- Returns:
- the queryPlusText value.
-