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

Class: Aws::CloudSearchDomain::Types::SuggestionMatch

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

Overview

An autocomplete suggestion that matches the query string specified in a SuggestRequest.

Instance Attribute Summary collapse

Instance Attribute Details

#id ⇒ String

The document ID of the suggested document.

Returns:

  • (String) —

    The document ID of the suggested document.

#score ⇒ Integer

The relevance score of a suggested match.

Returns:

  • (Integer) —

    The relevance score of a suggested match.

#suggestion ⇒ String

The string that matches the query string specified in the SuggestRequest.

Returns:

  • (String) —

    The string that matches the query string specified in the SuggestRequest.