Adding a thesaurus to an index
The following procedures show how to add a thesaurus file containing synonyms to an index. It can take up to 30 minutes to see the effects of your updated thesaurus file. For more information about the thesaurus file, see Creating a thesaurus file.
To add a thesaurus
-
In the left navigation pane, under the index where you want to add a list of synonyms, your thesaurus, choose Synonyms.
-
On the Synonym page, choose Add Thesaurus.
-
In Define thesaurus, give your thesaurus a name and an optional description.
-
In Thesaurus settings, provide the Amazon S3 path to your thesaurus file. The file must be smaller than 5 MB.
-
For IAM Role, select a role or select Create a new role and specify a role name to create a new role. Amazon Kendra uses this role to access the Amazon S3 resource on your behalf. The IAM role has the prefix "AmazonKendra-".
-
Choose Save to save the configuration and add the thesaurus. Once the thesaurus is ingested, it is active and synonyms are highlighted in results. It can take up to 30 minutes to see the effects of your thesaurus file.