View source: R/kendra_operations.R
kendra_update_query_suggestions_config | R Documentation |
Updates the settings of query suggestions for an index.
See https://www.paws-r-sdk.com/docs/kendra_update_query_suggestions_config/ for full documentation.
kendra_update_query_suggestions_config(
IndexId,
Mode = NULL,
QueryLogLookBackWindowInDays = NULL,
IncludeQueriesWithoutUserInformation = NULL,
MinimumNumberOfQueryingUsers = NULL,
MinimumQueryCount = NULL,
AttributeSuggestionsConfig = NULL
)
IndexId |
[required] The identifier of the index with query suggestions you want to update. |
Mode |
Set the mode to By default, Amazon Kendra enables query suggestions. In |
QueryLogLookBackWindowInDays |
How recent your queries are in your query log time window. The time window is the number of days from current day to past days. By default, Amazon Kendra sets this to 180. |
IncludeQueriesWithoutUserInformation |
If you pass user information to Amazon Kendra along with the queries,
you can set this flag to If you set to If you set to |
MinimumNumberOfQueryingUsers |
The minimum number of unique users who must search a query in order for the query to be eligible to suggest to your users. Increasing this number might decrease the number of suggestions. However, this ensures a query is searched by many users and is truly popular to suggest to users. How you tune this setting depends on your specific needs. |
MinimumQueryCount |
The the minimum number of times a query must be searched in order to be eligible to suggest to your users. Decreasing this number increases the number of suggestions. However, this affects the quality of suggestions as it sets a low bar for a query to be considered popular to suggest to users. How you tune this setting depends on your specific needs. |
AttributeSuggestionsConfig |
Configuration information for the document fields/attributes that you want to base query suggestions on. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.