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

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

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

Overview

Container for the suggestion information returned in a SuggestResponse.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#found ⇒ Integer

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

Returns:

  • (Integer) —

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

#query ⇒ String

The query string specified in the suggest request.

Returns:

  • (String) —

    The query string specified in the suggest request.

#suggestions ⇒ Array<Types::SuggestionMatch>

The documents that match the query string.

Returns: