You can change the configuration of a thesaurus after it is created. You can change details like thesaurus name and IAM information. You can also change the location of the thesaurus file Amazon S3 path. If you change the path to the thesaurus file, Amazon Kendra replaces the existing thesaurus with the thesaurus specified in the updated path.
It can take up to 30 minutes to see the effects of your updated thesaurus file.
Note
If there are validation or syntax errors in the thesaurus file, the previously uploaded thesaurus file is retained.
The following procedures show how to modify thesaurus details.
To modify thesaurus details
-
In the left navigation pane, under the index you want to modify, choose Synonyms.
-
On the Synonym page, select the thesaurus you want to modify and then choose Edit.
-
On the Update thesaurus page, update the thesaurus details.
-
(Optional) Choose Change the thesaurus file path and then specify an Amazon S3 path to the new thesaurus file. Your existing thesaurus file is replaced by the file you specify. If you do not change the path, Amazon Kendra reloads the thesaurus from the existing path.
If you select Keep the current thesaurus file, Amazon Kendra does not reload the thesaurus file.
-
Choose Save to save the configuration.
You can also reload the thesaurus from the existing thesaurus path.
To reload a thesaurus from an existing path
-
In the left navigation pane, under the index you want to modify, choose Synonyms.
-
On the Synonym page, select the thesaurus you want to reload and then choose Refresh.
-
On the Reload thesaurus file page, confirm you want to refresh the thesaurus file.