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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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 '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 '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 'lib/aws-sdk-cloudsearchdomain/types.rb', line 714

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