View source: R/kendra_operations.R
kendra_update_featured_results_set | R Documentation |
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.
kendra_update_featured_results_set(
IndexId,
FeaturedResultsSetId,
FeaturedResultsSetName = NULL,
Description = NULL,
Status = NULL,
QueryTexts = NULL,
FeaturedDocuments = NULL
)
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 |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.