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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SuggestRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  query: "Query", # required
  suggester: "Suggester", # required
  size: 1,
}

Container for the parameters to the Suggest request.

Instance Attribute Summary collapse

Instance Attribute Details

#queryString

Specifies the string for which you want to get suggestions.

Returns:

  • (String)

    Specifies the string for which you want to get suggestions.

#sizeInteger

Specifies the maximum number of suggestions to return.

Returns:

  • (Integer)

    Specifies the maximum number of suggestions to return.

#suggesterString

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

Returns:

  • (String)

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