kendra_update_featured_results_set: Updates a set of featured results

View source: R/kendra_operations.R

kendra_update_featured_results_setR Documentation

Updates a set of featured results

Description

Updates a set of featured results. Features results are placed above all other results for certain queries. You map specific queries to specific documents for featuring in the results. If a query contains an exact match of a query, then one or more specific documents are featured in the search results.

See https://www.paws-r-sdk.com/docs/kendra_update_featured_results_set/ for full documentation.

Usage

kendra_update_featured_results_set(
  IndexId,
  FeaturedResultsSetId,
  FeaturedResultsSetName = NULL,
  Description = NULL,
  Status = NULL,
  QueryTexts = NULL,
  FeaturedDocuments = NULL
)

Arguments

IndexId

[required] The identifier of the index used for featuring results.

FeaturedResultsSetId

[required] The identifier of the set of featured results that you want to update.

FeaturedResultsSetName

A new name for the set of featured results.

Description

A new description for the set of featured results.

Status

You can set the status to ACTIVE or INACTIVE. When the value is ACTIVE, featured results are ready for use. You can still configure your settings before setting the status to ACTIVE. The queries you specify for featured results must be unique per featured results set for each index, whether the status is ACTIVE or INACTIVE.

QueryTexts

A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.

FeaturedDocuments

A list of document IDs for the documents you want to feature at the top of the search results page. For more information on the list of featured documents, see FeaturedResultsSet.


paws.analytics documentation built on Sept. 11, 2023, 5:06 p.m.