You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The document ID of the suggested document.

Returns:

  • (String)


759
760
761
762
763
764
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 759

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

#scoreInteger

The relevance score of a suggested match.

Returns:

  • (Integer)


759
760
761
762
763
764
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 759

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

#suggestionString

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

Returns:

  • (String)


759
760
761
762
763
764
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 759

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