Class: Aws::CloudSearchDomain::Types::SuggestModel

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

Overview

Container for the suggestion information returned in a SuggestResponse.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#foundInteger

The number of documents that were found to match the query string.

Returns:

  • (Integer)


714
715
716
717
718
719
720
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 714

class SuggestModel < Struct.new(
  :query,
  :found,
  :suggestions)
  SENSITIVE = []
  include Aws::Structure
end

#queryString

The query string specified in the suggest request.

Returns:

  • (String)


714
715
716
717
718
719
720
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 714

class SuggestModel < Struct.new(
  :query,
  :found,
  :suggestions)
  SENSITIVE = []
  include Aws::Structure
end

#suggestionsArray<Types::SuggestionMatch>

The documents that match the query string.

Returns:



714
715
716
717
718
719
720
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 714

class SuggestModel < Struct.new(
  :query,
  :found,
  :suggestions)
  SENSITIVE = []
  include Aws::Structure
end