1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
Hi Juan,
To add new custom fields in your index you can use the UpdateIndex API with theDocumentMetadataConfigurationUpdates parameter. This allows you to update custom attribute relevant to your documents. Once you have updated the index configuration to include the new fields, re-upload the documents using the BatchPutDocument API, including the new attributes in the Attributes section of your documents.
Also depending on where your documents are stored, If your documents are in an S3 bucket, you can add new attributes through metadata JSON files in the S3 data source.
Thanks, Ayman
beantwortet vor 4 Monaten
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
- Wie finde ich die Abfrage-ID für eine Suchabfrage, damit ich Probleme in Amazon Kendra beheben kann?AWS OFFICIALAktualisiert vor einem Jahr
Thanks for your reply Ayman, one clarification thou, when you refer to re-upload the documents using BatchPutDocument API, do you mean calling the API again only with the new attributes? or deleting the document and performing a new upload with all the document information including new attributes?