Values.UpdateIndexRequestSourceUpdates an existing index in an OpenSearch Serverless collection. This operation allows you to modify the index schema, including adding new fields or changing field mappings. You can also enable automatic semantic enrichment ingestion and search. For more information, see About automatic semantic enrichment.
type nonrec t = {id : CollectionId.t;The unique identifier of the collection containing the index to update.
*)indexName : IndexName.t;The name of the index to update.
*)indexSchema : IndexSchema.t option;The updated JSON schema definition for the index, including field mappings and settings.
*)}val to_value :
t ->
[> `Structure of
(string * [> `String of CollectionId.t | `Structure of 'a list ]) list ]