Skip to content

Clear Query Suggestions

kendra_clear_query_suggestions R Documentation

Clears existing query suggestions from an index

Description

Clears existing query suggestions from an index.

This deletes existing suggestions only, not the queries in the query log. After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. If you do not see any new suggestions, then please allow Amazon Kendra to collect enough queries to learn new suggestions.

clear_query_suggestions is currently not supported in the Amazon Web Services GovCloud (US-West) region.

Usage

kendra_clear_query_suggestions(IndexId)

Arguments

IndexId

[required] The identifier of the index you want to clear query suggestions from.

Value

An empty list.

Request syntax

svc$clear_query_suggestions(
  IndexId = "string"
)