Class: Aws::CloudSearchDomain::Types::SuggestRequest

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

Overview

Container for the parameters to the Suggest request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#queryString

Specifies the string for which you want to get suggestions.

Returns:

  • (String)


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

class SuggestRequest < Struct.new(
  :query,
  :suggester,
  :size)
  SENSITIVE = []
  include Aws::Structure
end

#sizeInteger

Specifies the maximum number of suggestions to return.

Returns:

  • (Integer)


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

class SuggestRequest < Struct.new(
  :query,
  :suggester,
  :size)
  SENSITIVE = []
  include Aws::Structure
end

#suggesterString

Specifies the name of the suggester to use to find suggested matches.

Returns:

  • (String)


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

class SuggestRequest < Struct.new(
  :query,
  :suggester,
  :size)
  SENSITIVE = []
  include Aws::Structure
end