Update Featured Results Set
kendra_update_featured_results_set | R 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.
Usage¶
kendra_update_featured_results_set(IndexId, FeaturedResultsSetId,
FeaturedResultsSetName, Description, Status, QueryTexts,
FeaturedDocuments)
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 |
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. |
Value¶
A list with the following syntax:
list(
FeaturedResultsSet = list(
FeaturedResultsSetId = "string",
FeaturedResultsSetName = "string",
Description = "string",
Status = "ACTIVE"|"INACTIVE",
QueryTexts = list(
"string"
),
FeaturedDocuments = list(
list(
Id = "string"
)
),
LastUpdatedTimestamp = 123,
CreationTimestamp = 123
)
)
Request syntax¶
svc$update_featured_results_set(
IndexId = "string",
FeaturedResultsSetId = "string",
FeaturedResultsSetName = "string",
Description = "string",
Status = "ACTIVE"|"INACTIVE",
QueryTexts = list(
"string"
),
FeaturedDocuments = list(
list(
Id = "string"
)
)
)