AI-generated Key Takeaways
-
SearchSuggestionResult.Builder is a helper class for building SearchSuggestionResult objects.
-
The Builder has a constructor and two public methods: build() and setSuggestedResult().
-
The build() method creates a SearchSuggestionResult object.
-
The setSuggestedResult() method sets the suggested result string for the builder.
The Builder class of SearchSuggestionResult.
Public Constructor Summary
|
Builder()
|
Public Method Summary
| SearchSuggestionResult |
build()
Build a
SearchSuggestionResult object
|
| SearchSuggestionResult.Builder |
setSuggestedResult(String
suggestedResult)
Sets the suggested result that could be used as query expression in the
AppSearchClient.search(String, SearchSpec, String).
|
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public SearchSuggestionResult build ()
Build a SearchSuggestionResult
object
public SearchSuggestionResult.Builder setSuggestedResult (String suggestedResult)
Sets the suggested result that could be used as query expression in the
AppSearchClient.search(String, SearchSpec, String).
The suggested result should only contain lowercase or special characters.