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

Class: Aws::Kendra::Types::QueryResult

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

Overview

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#facet_results ⇒ Array<Types::FacetResult>

Contains the facet results. A FacetResult contains the counts for each attribute key that was specified in the Facets input parameter.

Returns:

#query_id ⇒ String

The unique identifier for the search. You use QueryId to identify the search when using the feedback API.

Returns:

  • (String) —

    The unique identifier for the search.

#result_items ⇒ Array<Types::QueryResultItem>

The results of the search.

Returns:

#total_number_of_results ⇒ Integer

The total number of items found by the search; however, you can only retrieve up to 100 items. For example, if the search found 192 items, you can only retrieve the first 100 of the items.

Returns:

  • (Integer) —

    The total number of items found by the search; however, you can only retrieve up to 100 items.