Module Values.UpdateIndexRequestSource

Updates an existing OpenSearch index schema and semantic enrichment configuration. This operation allows modification of field mappings and semantic search settings for text fields. Changes to semantic enrichment configuration will apply to newly ingested documents.

Sourcetype nonrec t = {
  1. domainName : DomainName.t;
  2. indexName : IndexName.t;
    (*

    The name of the index to update.

    *)
  3. indexSchema : IndexSchema.t;
    (*

    The updated JSON schema for the index including any changes to mappings, settings, and semantic enrichment configuration.

    *)
}
Sourceval context_ : string
Sourceval make : domainName:DomainName.t -> indexName:IndexName.t -> indexSchema:IndexSchema.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of DomainName.t | `Structure of 'a list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t