Class: Aws::CloudSearchDomain::Types::SuggestionMatch

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudsearchdomain/types.rb

Overview

An autocomplete suggestion that matches the query string specified in a ‘SuggestRequest`.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The document ID of the suggested document.

Returns:

  • (String)


774
775
776
777
778
779
780
# File 'lib/aws-sdk-cloudsearchdomain/types.rb', line 774

class SuggestionMatch < Struct.new(
  :suggestion,
  :score,
  :id)
  SENSITIVE = []
  include Aws::Structure
end

#scoreInteger

The relevance score of a suggested match.

Returns:

  • (Integer)


774
775
776
777
778
779
780
# File 'lib/aws-sdk-cloudsearchdomain/types.rb', line 774

class SuggestionMatch < Struct.new(
  :suggestion,
  :score,
  :id)
  SENSITIVE = []
  include Aws::Structure
end

#suggestionString

The string that matches the query string specified in the ‘SuggestRequest`.

Returns:

  • (String)


774
775
776
777
778
779
780
# File 'lib/aws-sdk-cloudsearchdomain/types.rb', line 774

class SuggestionMatch < Struct.new(
  :suggestion,
  :score,
  :id)
  SENSITIVE = []
  include Aws::Structure
end