Class AutocompleteResult


public final class AutocompleteResult extends Object
The result of Autocomplete query.
  • Constructor Details

    • AutocompleteResult

      public AutocompleteResult(List<AutocompleteItem> results)
      Creates an instance of AutocompleteResult class.
      results - the results value to set.
  • Method Details

    • getCoverage

      public Double getCoverage()
      Get the coverage property: A value indicating the percentage of the index that was considered by the autocomplete request, or null if minimumCoverage was not specified in the request.
      the coverage value.
    • getResults

      public List<AutocompleteItem> getResults()
      Get the results property: The list of returned Autocompleted items.
      the results value.