Builder
Properties
Filters search results by document fields/attributes. You can only provide one attribute filter; however, the AndAllFilters
, NotFilter
, and OrAllFilters
parameters contain a list of other filters.
Provides configuration to determine how to group results by document attribute value, and how to display them (collapsed or expanded) under a designated primary document for each group.
Overrides relevance tuning configurations of fields/attributes set at the index level.
Query results are returned in pages the size of the PageSize
parameter. By default, Amazon Kendra returns the first page of results. Use this parameter to get result pages after the first one.
Sets the type of query result or response. Only results for the specified type are returned.
An array of document fields/attributes to include in the response. You can limit the response to include certain document fields. By default, all document attributes are included in the response.
Provides information that determines how the results of the query are sorted. You can set the field that Amazon Kendra should sort the results on, and specify whether the results should be sorted in ascending or descending order. In the case of ties in sorting the results, the results are sorted by relevance.
Provides configuration information to determine how the results of a query are sorted.
Enables suggested spell corrections for queries.
The user context token or user and group information.
Functions
construct an aws.sdk.kotlin.services.kendra.model.AttributeFilter inside the given block
construct an aws.sdk.kotlin.services.kendra.model.CollapseConfiguration inside the given block
construct an aws.sdk.kotlin.services.kendra.model.SortingConfiguration inside the given block
construct an aws.sdk.kotlin.services.kendra.model.SpellCorrectionConfiguration inside the given block
construct an aws.sdk.kotlin.services.kendra.model.UserContext inside the given block