SortingConfiguration
import type { SortingConfiguration } from "https://aws-api.deno.dev/v0.3/services/kendra.ts?docs=full";
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.
- Date value
- Long value
- String value
You can't sort attributes of the following type.
- String list value