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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudsearchdomain/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)


806
807
808
809
810
811
812
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 806

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

#scoreInteger

The relevance score of a suggested match.

Returns:

  • (Integer)


806
807
808
809
810
811
812
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 806

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)


806
807
808
809
810
811
812
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 806

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