A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/Kendra/Types/SortingConfiguration.html below:

SortingConfiguration — AWS SDK for Ruby V2

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

Class: Aws::Kendra::Types::SortingConfiguration
Inherits:
Struct show all
Defined in:
(unknown)
Overview Note:

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

{
  document_attribute_key: "DocumentAttributeKey",   sort_order: "DESC", }

Specifies the document attribute to use to sort the response to a Amazon Kendra query. You can specify a single attribute for sorting. The attribute must have the Sortable flag set to true, otherwise Amazon Kendra returns an exception.

You can sort attributes of the following types.

You can't sort attributes of the following type.

Returned by:

Instance Attribute Summary collapse Instance Attribute Details #document_attribute_key ⇒ String

The name of the document attribute used to sort the response. You can use any field that has the Sortable flag set to true.

You can also sort by any of the following built-in attributes:

#sort_order ⇒ String

The order that the results should be returned in. In case of ties, the relevance assigned to the result by Amazon Kendra is used as the tie-breaker.

Possible values:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4