Class AutocompleteResult
java.lang.Object
com.atlassian.confluence.api.model.search.autocomplete.AutocompleteResult
Represents a set of results from an autocomplete Search request.
Returned results can be "suggested" (promoted to the user) or "search" (anything found that isn't promoted). There should be no items duplicated between the two result lists, and either list may be empty.
- Since:
- 5.9
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AutocompleteResult.Builder
builder()
Search results are intended to be shown to the user below those returned bygetSuggestedResults()
.Suggested results are intended to be shown to the user above those returned bygetSearchResults()
, and may be returned with or without search results.
-
Method Details
-
builder
-
getSuggestedResults
Suggested results are intended to be shown to the user above those returned bygetSearchResults()
, and may be returned with or without search results.An example of when only suggested results could be returned is when there is a blank query.
-
getSearchResults
Search results are intended to be shown to the user below those returned bygetSuggestedResults()
.
-