---
type: api
title: Preview a transform
description: Generates a preview of the results that you will get when you create a transform with the same configuration.
url: https://www.elastic.co/docs/api/doc/elasticsearch-serverless/operation/operation-transform-preview-transform
resource: https://www.elastic.co/docs/api/doc/elasticsearch-serverless/operation/operation-transform-preview-transform
products:
  - Elasticsearch Serverless
---

# Preview a transform

Authentication: required

## Paths

- `POST` (also `GET`) `/_transform/{transform_id}/_preview`
- `POST` (also `GET`) `/_transform/_preview`

#### Path parameters

- `transform_id` (string) — optional, leave it out to use `/_transform/_preview`
  Identifier for the transform to preview. If you specify this path parameter, you cannot provide transform
configuration details in the request body.

## Description

Generates a preview of the results that you will get when you create a transform with the same configuration.

It returns a maximum of 100 results. The calculations are based on all the current data in the source index. It also
generates a list of mappings and settings for the destination index. These values are determined based on the field
types of the source index and the transform aggregations.

## Required privileges

- Index privileges: `read`, `view_index_metadata`
- Cluster privileges: `manage_transform`

## Query string parameters

- `timeout` (union oneOf · default: 30s) — optional
  Period to wait for a response. If no response is received before the
timeout expires, the request fails and returns an error.
  Values: `-1`, `0`

## Request body

`application/json`

- `dest` (object) — optional
  The destination for the transform.
  - `index` (string) — optional
    The destination index for the transform. The mappings of the destination index are deduced based on the source
fields when possible. If alternate mappings are required, use the create index API prior to starting the
transform.
  - `aliases` (object[]) — optional
    The aliases that the destination index for the transform should have.
Aliases are manipulated using the stored credentials of the transform, which means the secondary credentials
supplied at creation time (if both primary and secondary credentials are specified).

The destination index is added to the aliases regardless of whether the destination index was created by the
transform or pre-created by the user.
    - `alias` (string) — required
      The name of the alias.
    - `move_on_creation` (boolean · default: false) — optional
      Whether the destination index should be the only index in this alias.
If `true`, all the other indices will be removed from this alias before adding the destination index to this
alias. This does not delete the removed indices; it only removes them from the alias.
  - `pipeline` (string) — optional
    The unique identifier for an ingest pipeline.
- `description` (string) — optional
  Free text description of the transform.
- `frequency` (union oneOf · default: 1m) — optional
  The interval between checks for changes in the source indices when the
transform is running continuously. Also determines the retry interval in
the event of transient failures while the transform is searching or
indexing. The minimum value is 1s and the maximum is 1h.
  Values: `-1`, `0`
- `pivot` (object) — optional
  The pivot method transforms the data by aggregating and grouping it.
These objects define the group by fields and the aggregation to reduce
the data.
  - `aggregations` (map string to {} Aggregation) — optional
    Defines how to aggregate the grouped data. The following aggregations are currently supported: average, bucket
script, bucket selector, cardinality, filter, geo bounds, geo centroid, geo line, max, median absolute deviation,
min, missing, percentiles, rare terms, scripted metric, stats, sum, terms, top metrics, value count, weighted
average.
    See [Aggregation](https://www.elastic.co/docs/api/doc/elasticsearch-serverless/types/_types-aggregations-aggregationcontainer)
  - `group_by` (map string to object) — optional
    Defines how to group the data. More than one grouping can be defined per pivot. The following groupings are
currently supported: date histogram, geotile grid, histogram, terms.
    Map values (object · min properties: 1 · max properties: 1)
    - `date_histogram` (object) — optional
      - `calendar_interval` (enum) — optional
        Calendar-aware interval.
Can be specified using the unit name, such as `month`, or as a single unit quantity, such as `1M`.
        Values: `second`, `1s`, `minute`, `1m`, `hour`, `1h`, `day`, `1d`, `week`, `1w`, `month`, `1M`, `quarter`, `1q`, `year`, `1y`
      - `extended_bounds` (object) — optional
        Enables extending the bounds of the histogram beyond the data itself.
        - `max` (union oneOf) — optional
          Maximum value for the bound.
          One of: `string` or `number`
        - `min` (union oneOf) — optional
          Minimum value for the bound.
          One of: `string` or `number`
      - `hard_bounds` (object) — optional
        Limits the histogram to specified bounds.
        - `max` (union oneOf) — optional
          Maximum value for the bound.
          One of: `string` or `number`
        - `min` (union oneOf) — optional
          Minimum value for the bound.
          One of: `string` or `number`
      - `field` (string) — optional
        The date field whose values are use to build a histogram.
      - `fixed_interval` (union oneOf) — optional
        Fixed intervals: a fixed number of SI units and never deviate, regardless of where they fall on the calendar.
        Values: `-1`, `0`
      - `format` (string) — optional
        The date format used to format `key_as_string` in the response.
If no `format` is specified, the first date format specified in the field mapping is used.
      - `interval` (union oneOf) — optional — deprecated
        Values: `-1`, `0`
      - `min_doc_count` (number) — optional
        Only returns buckets that have `min_doc_count` number of documents.
By default, all buckets between the first bucket that matches documents and the last one are returned.
      - `missing` (union oneOf) — optional
        The value to apply to documents that do not have a value.
By default, documents without a value are ignored.
        One of: `string` or `number`
      - `offset` (union oneOf) — optional
        Changes the start value of each bucket by the specified positive (`+`) or negative offset (`-`) duration.
        Values: `-1`, `0`
      - `order` (union oneOf) — optional
        The sort order of the returned buckets.
        One of: `string to enum[]` or `string to enum`
      - `params` (map string to object) — optional
      - `script` (string) — optional
      - `time_zone` (string) — optional
        Time zone used for bucketing and rounding.
Defaults to Coordinated Universal Time (UTC).
      - `keyed` (boolean) — optional
        Set to `true` to associate a unique string key with each bucket and return the ranges as a hash rather than an array.
    - `geotile_grid` (object) — optional
      - `field` (string) — optional
        Field containing indexed `geo_point` or `geo_shape` values.
If the field contains an array, `geotile_grid` aggregates all array values.
      - `precision` (number · default: 7) — optional
        Integer zoom of the key used to define cells/buckets in the results.
Values outside of the range [0,29] will be rejected.
      - `shard_size` (number) — optional
        Allows for more accurate counting of the top cells returned in the final result the aggregation.
Defaults to returning `max(10,(size x number-of-shards))` buckets from each shard.
      - `size` (number · default: 10000) — optional
        The maximum number of buckets to return.
      - `bounds` (union oneOf) — optional
        A bounding box to filter the geo-points or geo-shapes in each bucket.
        - **CoordsGeoBounds**
          - `top` (number) — required
          - `bottom` (number) — required
          - `left` (number) — required
          - `right` (number) — required
        - **TopLeftBottomRightGeoBounds**
          - `top_left` (union oneOf) — required
            - **LatLonGeoLocation**
              - `lat` (number) — required
                Latitude
              - `lon` (number) — required
                Longitude
            - **GeoHashLocation**
              - `geohash` (string) — required
            - **[]number**
            - **string**
          - `bottom_right` (union oneOf) — required
            - **LatLonGeoLocation**
              - `lat` (number) — required
                Latitude
              - `lon` (number) — required
                Longitude
            - **GeoHashLocation**
              - `geohash` (string) — required
            - **[]number**
            - **string**
        - **TopRightBottomLeftGeoBounds**
          - `top_right` (union oneOf) — required
            - **LatLonGeoLocation**
              - `lat` (number) — required
                Latitude
              - `lon` (number) — required
                Longitude
            - **GeoHashLocation**
              - `geohash` (string) — required
            - **[]number**
            - **string**
          - `bottom_left` (union oneOf) — required
            - **LatLonGeoLocation**
              - `lat` (number) — required
                Latitude
              - `lon` (number) — required
                Longitude
            - **GeoHashLocation**
              - `geohash` (string) — required
            - **[]number**
            - **string**
        - **WktGeoBounds**
          - `wkt` (string) — required
    - `histogram` (object) — optional
      - `extended_bounds` (object) — optional
        Enables extending the bounds of the histogram beyond the data itself.
        - `max` (number) — optional
          Maximum value for the bound.
        - `min` (number) — optional
          Minimum value for the bound.
      - `hard_bounds` (object) — optional
        Limits the range of buckets in the histogram.
It is particularly useful in the case of open data ranges that can result in a very large number of buckets.
        - `max` (number) — optional
          Maximum value for the bound.
        - `min` (number) — optional
          Minimum value for the bound.
      - `field` (string) — optional
        The name of the field to aggregate on.
      - `interval` (number) — optional
        The interval for the buckets.
Must be a positive decimal.
      - `min_doc_count` (number) — optional
        Only returns buckets that have `min_doc_count` number of documents.
By default, the response will fill gaps in the histogram with empty buckets.
      - `missing` (number) — optional
        The value to apply to documents that do not have a value.
By default, documents without a value are ignored.
      - `offset` (number) — optional
        By default, the bucket keys start with 0 and then continue in even spaced steps of `interval`.
The bucket boundaries can be shifted by using the `offset` option.
      - `order` (union oneOf) — optional
        The sort order of the returned buckets.
By default, the returned buckets are sorted by their key ascending.
        One of: `string to enum[]` or `string to enum`
      - `script` (string) — optional
      - `format` (string) — optional
      - `keyed` (boolean · default: false) — optional
        If `true`, returns buckets as a hash instead of an array, keyed by the bucket keys.
    - `terms` (object) — optional
      - `collect_mode` (enum) — optional
        Determines how child aggregations should be calculated: breadth-first or depth-first.

Supported values include:
  - `depth_first`: Expands all branches of the aggregation tree in one depth-first pass, before any pruning occurs.
  - `breadth_first`: Caches the set of documents that fall into the uppermost buckets for subsequent replay.
        Values: `depth_first`, `breadth_first`
      - `exclude` (union oneOf) — optional
        Values to exclude.
Accepts regular expressions and partitions.
        One of: `string[]` or `string`
      - `execution_hint` (enum) — optional
        Determines whether the aggregation will use field values directly or global ordinals.
        Values: `map`, `global_ordinals`, `global_ordinals_hash`, `global_ordinals_low_cardinality`
      - `field` (string) — optional
        The field from which to return terms.
      - `include` (union oneOf) — optional
        Values to include.
Accepts regular expressions and partitions.
        - **[]string**
        - **string**
        - **TermsPartition**
          - `num_partitions` (number) — required
            The number of partitions.
          - `partition` (number) — required
            The partition number for this request.
      - `min_doc_count` (number · default: 1) — optional
        Only return values that are found in more than `min_doc_count` hits.
      - `missing` (boolean | number | string) — optional
        The value to apply to documents that do not have a value.
By default, documents without a value are ignored.
      - `missing_order` (enum) — optional
        Values: `first`, `last`, `default`
      - `missing_bucket` (boolean) — optional
      - `value_type` (string) — optional
        Coerced unmapped fields into the specified type.
      - `order` (union oneOf) — optional
        Specifies the sort order of the buckets.
Defaults to sorting by descending document count.
        One of: `string to enum[]` or `string to enum`
      - `script` (string) — optional
      - `shard_min_doc_count` (number) — optional
        Regulates the certainty a shard has if the term should actually be added to the candidate list or not with respect to the `min_doc_count`.
Terms will only be considered if their local shard frequency within the set is higher than the `shard_min_doc_count`.
      - `shard_size` (number) — optional
        The number of candidate terms produced by each shard.
By default, `shard_size` will be automatically estimated based on the number of shards and the `size` parameter.
      - `show_term_doc_count_error` (boolean) — optional
        Set to `true` to return the `doc_count_error_upper_bound`, which is an upper bound to the error on the `doc_count` returned by each shard.
      - `size` (number · default: 10) — optional
        The number of buckets returned out of the overall terms list.
      - `format` (string) — optional
- `source` (object) — optional
  The source of the data for the transform.
  - `index` (union oneOf) — required
    The source indices for the transform. It can be a single index, an index pattern (for example, `"my-index-*""`), an
array of indices (for example, `["my-index-000001", "my-index-000002"]`), or an array of index patterns (for
example, `["my-index-*", "my-other-index-*"]`. For remote indices use the syntax `"remote_name:index_name"`. If
any indices are in remote clusters then the master node and at least one transform node must have the `remote_cluster_client` node role.
    One of: `string[]` or `string`
  - `query` ({} Query) — optional
    A query clause that retrieves a subset of data from the source index.
    See [Query](https://www.elastic.co/docs/api/doc/elasticsearch-serverless/types/_types-query_dsl-querycontainer)
  - `runtime_mappings` (object) — optional
    Definitions of search-time runtime fields that can be used by the transform. For search runtime fields all data
nodes, including remote nodes, must be 7.12 or later.
- `settings` (object) — optional
  Defines optional transform settings.
  - `align_checkpoints` (boolean · default: true) — optional
    Specifies whether the transform checkpoint ranges should be optimized for performance. Such optimization can align
checkpoint ranges with the date histogram interval when date histogram is specified as a group source in the
transform config. As a result, less document updates in the destination index will be performed thus improving
overall performance.
  - `dates_as_epoch_millis` (boolean · default: false) — optional
    Defines if dates in the output should be written as ISO formatted string or as millis since epoch. epoch_millis was
the default for transforms created before version 7.11. For compatible output set this value to `true`.
  - `deduce_mappings` (boolean · default: true) — optional
    Specifies whether the transform should deduce the destination index mappings from the transform configuration.
  - `docs_per_second` (number) — optional
    Specifies a limit on the number of input documents per second. This setting throttles the transform by adding a
wait time between search requests. The default value is null, which disables throttling.
  - `max_page_search_size` (number) — optional
    Defines the initial page size to use for the composite aggregation for each checkpoint. If circuit breaker
exceptions occur, the page size is dynamically adjusted to a lower value. The minimum value is `10` and the
maximum is `65,536`. The default value is `500` for `pivot` transforms and `5000` for `latest` transforms.
  - `use_point_in_time` (boolean · default: true) — optional
    Specifies whether the transform checkpoint will use the Point In Time API while searching over the source index.
In general, Point In Time is an optimization that will reduce pressure on the source index by reducing the amount
of refreshes and merges, but it can be expensive if a large number of Point In Times are opened and closed for a
given index. The benefits and impact depend on the data being searched, the ingest rate into the source index, and
the amount of other consumers searching the same source index.
  - `num_failure_retries` (number) — optional
    Defines the number of retries on a recoverable failure before the transform task is marked as `failed`.
The minimum value is `0` and the maximum is `100`, where `-1` indicates that the transform retries indefinitely.
If unset, the cluster-level setting `num_transform_failure_retries` is used.

This setting cannot be specified when `unattended` is `true`, because unattended transforms always retry
indefinitely.
  - `unattended` (boolean · default: false) — optional
    If `true`, the transform runs in unattended mode. In unattended mode, the transform retries indefinitely in case
of an error which means the transform never fails. Setting the number of retries other than infinite fails in
validation.
  - `indexer_request_timeout` (union string) — optional — nullable
    The initial timeout for the requests the transform sends to nodes to retrieve checkpoint information.
Each consecutive failure doubles the timeout, up to a maximum of `12h`. The minimum value is `1ms` and the
maximum is `12h`. Defaults to `30s`.
    Values: `-1`, `0`
- `sync` (object) — optional
  Defines the properties transforms require to run continuously.
  - `time` (object) — optional
    Specifies that the transform uses a time field to synchronize the source and destination indices.
    - `delay` (union oneOf · default: 60s) — optional
      The time delay between the current time and the latest input data time.
      Values: `-1`, `0`
    - `field` (string) — required
      The date field that is used to identify new documents in the source. In general, it’s a good idea to use a field
that contains the ingest timestamp. If you use a different field, you might need to set the delay such that it
accounts for data transmission delays.
- `retention_policy` (object) — optional
  Defines a retention policy for the transform. Data that meets the defined
criteria is deleted from the destination index.
  - `time` (object) — optional
    Specifies that the transform uses a time field to set the retention policy.
    - `field` (string) — required
      The date field that is used to calculate the age of the document.
    - `max_age` (union oneOf) — required
      Specifies the maximum age of a document in the destination index. Documents that are older than the configured
value are removed from the destination index.
      Values: `-1`, `0`
- `latest` (object) — optional
  The latest method transforms the data by finding the latest document for
each unique key.
  - `sort` (string) — required
    Specifies the date field that is used to identify the latest documents.
  - `unique_key` (string[]) — required
    Specifies an array of one or more fields that are used to group the data.

## Response

`application/json`

- `generated_dest_index` (object)
  - `aliases` (map string to object)
    Map values (object)
    - `filter` ({} Query)
      Query used to limit documents the alias can access.
      See [Query](https://www.elastic.co/docs/api/doc/elasticsearch-serverless/types/_types-query_dsl-querycontainer)
    - `index_routing` (string)
      Value used to route indexing operations to a specific shard.
If specified, this overwrites the `routing` value for indexing operations.
    - `is_hidden` (boolean · default: false)
      If `true`, the alias is hidden.
All indices for the alias must have the same `is_hidden` value.
    - `is_write_index` (boolean · default: false)
      If `true`, the index is the write index for the alias.
    - `routing` (string)
      Value used to route indexing and search operations to a specific shard.
    - `search_routing` (string)
      Value used to route search operations to a specific shard.
If specified, this overwrites the `routing` value for search operations.
  - `mappings` (object)
    - `all_field` (object)
      - `analyzer` (string)
      - `enabled` (boolean)
      - `omit_norms` (boolean)
      - `search_analyzer` (string)
      - `similarity` (string)
      - `store` (boolean)
      - `store_term_vector_offsets` (boolean)
      - `store_term_vector_payloads` (boolean)
      - `store_term_vector_positions` (boolean)
      - `store_term_vectors` (boolean)
    - `date_detection` (boolean)
    - `dynamic` (enum)
      Values: `strict`, `runtime`, `true`, `false`
    - `dynamic_date_formats` (string[])
    - `dynamic_templates` (string to object[])
    - `_field_names` (object)
      - `enabled` (boolean)
    - `index_field` (object)
      - `enabled` (boolean)
    - `_meta` (object)
    - `numeric_detection` (boolean)
    - `properties` (map string to oneOf)
      Map values (union oneOf)
      One of:
      - **type: binary** (`type: binary`)
        - `type` (enum)
          Values: `binary`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
      - **type: boolean** (`type: boolean`)
        - `type` (enum)
          Values: `boolean`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `fielddata` (object)
          - `format` (enum)
            Values: `array`, `disabled`
        - `index` (boolean)
        - `null_value` (boolean)
        - `ignore_malformed` (boolean)
        - `script` (string)
        - `on_script_error` (enum)
          Values: `fail`, `continue`
        - `time_series_dimension` (boolean)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
      - **type: {dynamic_type}** (`type: {dynamic_type}`)
        - `type` (enum)
          Values: `{dynamic_type}`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `enabled` (boolean)
        - `null_value` (union oneOf)
          One of: `number` or `string` or `boolean`
        - `boost` (number)
        - `coerce` (boolean)
        - `script` (string)
        - `on_script_error` (enum)
          Values: `fail`, `continue`
        - `ignore_malformed` (boolean)
        - `time_series_metric` (enum)
          Values: `gauge`, `counter`, `summary`, `histogram`, `position`
        - `time_series_dimension` (boolean)
        - `analyzer` (string)
        - `eager_global_ordinals` (boolean)
        - `fielddata` (boolean)
        - `fielddata_frequency_filter` (object)
          - `max` (number)
          - `min` (number)
          - `min_segment_size` (number)
        - `index` (boolean)
        - `index_options` (enum)
          Values: `docs`, `freqs`, `positions`, `offsets`
        - `index_phrases` (boolean)
        - `index_prefixes` (union oneOf) — nullable
          - **TextIndexPrefixes**
            - `max_chars` (number)
            - `min_chars` (number)
          - **string**
        - `norms` (boolean)
        - `position_increment_gap` (number)
        - `search_analyzer` (string)
        - `search_quote_analyzer` (string)
        - `similarity` (union string) — nullable
          One of: `string`
        - `term_vector` (enum)
          Values: `no`, `yes`, `with_offsets`, `with_positions`, `with_positions_offsets`, `with_positions_offsets_payloads`, `with_positions_payloads`
        - `format` (string)
        - `precision_step` (number)
        - `locale` (string)
        - `subobjects` (enum)
          Values: `true`, `false`
      - **type: join** (`type: join`)
        - `type` (enum)
          Values: `join`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `relations` (map string to RelationName | RelationName[])
        - `eager_global_ordinals` (boolean)
      - **type: keyword** (`type: keyword`)
        - `type` (enum)
          Values: `keyword`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `eager_global_ordinals` (boolean)
        - `index` (boolean)
        - `index_options` (enum)
          Values: `docs`, `freqs`, `positions`, `offsets`
        - `script` (string)
        - `on_script_error` (enum)
          Values: `fail`, `continue`
        - `normalizer` (string)
        - `norms` (boolean)
        - `null_value` (string)
        - `similarity` (union string) — nullable
          One of: `string`
        - `split_queries_on_whitespace` (boolean)
        - `time_series_dimension` (boolean)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
      - **type: match_only_text** (`type: match_only_text`)
        A variant of text that trades scoring and efficiency of positional queries for space efficiency. This field
effectively stores data the same way as a text field that only indexes documents (index_options: docs) and
disables norms (norms: false). Term queries perform as fast if not faster as on text fields, however queries
that need positions such as the match_phrase query perform slower as they need to look at the _source document
to verify whether a phrase matches. All queries return constant scores that are equal to 1.0.
        - `type` (enum)
          Values: `match_only_text`
        - `fields` (map string to oneOf) — recursive
          Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one
field for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.
        - `meta` (map string to string)
          Metadata about the field.
        - `copy_to` (union oneOf)
          Allows you to copy the values of multiple fields into a group
field, which can then be queried as a single field.
          One of: `string[]` or `string`
      - **type: percolator** (`type: percolator`)
        - `type` (enum)
          Values: `percolator`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
      - **type: rank_feature** (`type: rank_feature`)
        - `type` (enum)
          Values: `rank_feature`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `positive_score_impact` (boolean)
      - **type: rank_features** (`type: rank_features`)
        - `type` (enum)
          Values: `rank_features`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `positive_score_impact` (boolean)
      - **type: search_as_you_type** (`type: search_as_you_type`)
        - `type` (enum)
          Values: `search_as_you_type`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `analyzer` (string)
        - `index` (boolean)
        - `index_options` (enum)
          Values: `docs`, `freqs`, `positions`, `offsets`
        - `max_shingle_size` (number)
        - `norms` (boolean)
        - `search_analyzer` (string)
        - `search_quote_analyzer` (string)
        - `similarity` (union string) — nullable
          One of: `string`
        - `term_vector` (enum)
          Values: `no`, `yes`, `with_offsets`, `with_positions`, `with_positions_offsets`, `with_positions_offsets_payloads`, `with_positions_payloads`
      - **type: text** (`type: text`)
        - `type` (enum)
          Values: `text`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `analyzer` (string)
        - `boost` (number)
        - `eager_global_ordinals` (boolean)
        - `fielddata` (boolean)
        - `fielddata_frequency_filter` (object)
          - `max` (number)
          - `min` (number)
          - `min_segment_size` (number)
        - `index` (boolean)
        - `index_options` (enum)
          Values: `docs`, `freqs`, `positions`, `offsets`
        - `index_phrases` (boolean)
        - `index_prefixes` (union oneOf) — nullable
          - **TextIndexPrefixes**
            - `max_chars` (number)
            - `min_chars` (number)
          - **string**
        - `norms` (boolean)
        - `position_increment_gap` (number)
        - `search_analyzer` (string)
        - `search_quote_analyzer` (string)
        - `similarity` (union string) — nullable
          One of: `string`
        - `term_vector` (enum)
          Values: `no`, `yes`, `with_offsets`, `with_positions`, `with_positions_offsets`, `with_positions_offsets_payloads`, `with_positions_payloads`
      - **type: version** (`type: version`)
        - `type` (enum)
          Values: `version`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
      - **type: wildcard** (`type: wildcard`)
        - `type` (enum)
          Values: `wildcard`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `null_value` (string)
      - **type: date_nanos** (`type: date_nanos`)
        - `type` (enum)
          Values: `date_nanos`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `format` (string)
        - `ignore_malformed` (boolean)
        - `index` (boolean)
        - `script` (string)
        - `on_script_error` (enum)
          Values: `fail`, `continue`
        - `null_value` (union oneOf)
          One of: `string` or `number`
        - `precision_step` (number)
      - **type: date** (`type: date`)
        - `type` (enum)
          Values: `date`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `fielddata` (object)
          - `format` (enum)
            Values: `array`, `disabled`
        - `format` (string)
        - `ignore_malformed` (boolean)
        - `index` (boolean)
        - `script` (string)
        - `on_script_error` (enum)
          Values: `fail`, `continue`
        - `null_value` (union oneOf)
          One of: `string` or `number`
        - `precision_step` (number)
        - `locale` (string)
      - **type: aggregate_metric_double** (`type: aggregate_metric_double`)
        - `type` (enum)
          Values: `aggregate_metric_double`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `default_metric` (string)
        - `ignore_malformed` (boolean)
        - `metrics` (string[])
        - `time_series_metric` (enum)
          Values: `gauge`, `counter`, `summary`, `histogram`, `position`
      - **type: dense_vector** (`type: dense_vector`)
        - `type` (enum)
          Values: `dense_vector`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `dims` (number)
          Number of vector dimensions. Can't exceed `4096`. If `dims` is not specified, it will be set to the length of
the first vector added to the field.
        - `element_type` (enum · default: float)
          The data type used to encode vectors. The supported data types are `float` (default), `byte`, and `bit`.

Supported values include:
  - `bit`: Indexes a single bit per dimension. Useful for very high-dimensional vectors or models that specifically support
bit vectors.

NOTE: when using `bit`, the number of dimensions must be a multiple of `8` and must represent the number of bits.
  - `byte`: Indexes a 1-byte integer value per dimension.
  - `float`: Indexes a 4-byte floating-point value per dimension.
          Values: `bit`, `byte`, `float`
        - `index` (boolean · default: true)
          If `true`, you can search this field using the kNN search API.
        - `index_options` (object)
          An optional section that configures the kNN indexing algorithm. The HNSW algorithm has two internal parameters
that influence how the data structure is built. These can be adjusted to improve the accuracy of results, at the
expense of slower indexing speed.

This parameter can only be specified when `index` is `true`.
          - `confidence_interval` (number) — deprecated
            The confidence interval to use when quantizing the vectors. Can be any value between and including `0.90` and
`1.0` or exactly `0`. When the value is `0`, this indicates that dynamic quantiles should be calculated for
optimized quantization. When between `0.90` and `1.0`, this value restricts the values used when calculating
the quantization thresholds.

For example, a value of `0.95` will only use the middle `95%` of the values when calculating the quantization
thresholds (e.g. the highest and lowest `2.5%` of values will be ignored).

Defaults to `1/(dims + 1)` for `int8` quantized vectors and `0` for `int4` for dynamic quantile calculation.

Only applicable to `int8_hnsw`, `int4_hnsw`, `int8_flat`, and `int4_flat` index types.
          - `ef_construction` (number · default: 100)
            The number of candidates to track while assembling the list of nearest neighbors for each new node.

Only applicable to `hnsw`, `int8_hnsw`, `bbq_hnsw`, and `int4_hnsw` index types.
          - `m` (number · default: 16)
            The number of neighbors each node will be connected to in the HNSW graph.

Only applicable to `hnsw`, `int8_hnsw`, `bbq_hnsw`, and `int4_hnsw` index types.
          - `type` (enum)
            The type of kNN algorithm to use.

Supported values include:
  - `bbq_flat`: This utilizes a brute-force search algorithm in addition to automatically quantizing to binary vectors.
Only supports `element_type` of `float`.
  - `bbq_hnsw`: This utilizes the HNSW algorithm in addition to automatic binary quantization for scalable approximate kNN
search with `element_type` of `float`.

This can reduce the memory footprint by nearly 32x at the cost of some accuracy.
  - `flat`: This utilizes a brute-force search algorithm for exact kNN search. This supports all `element_type` values.
  - `hnsw`: This utilizes the HNSW algorithm for scalable approximate kNN search. This supports all `element_type` values.
  - `int4_flat`: This utilizes a brute-force search algorithm in addition to automatically half-byte scalar quantization.
Only supports `element_type` of `float`.
  - `int4_hnsw`: This utilizes the HNSW algorithm in addition to automatically scalar quantization for scalable approximate kNN
search with `element_type` of `float`.

This can reduce the memory footprint by 8x at the cost of some accuracy.
  - `int8_flat`: This utilizes a brute-force search algorithm in addition to automatically scalar quantization. Only supports
`element_type` of `float`.
  - `int8_hnsw`: The default index type for `float` vectors. This utilizes the HNSW algorithm in addition to automatically scalar
quantization for scalable approximate kNN search with `element_type` of `float`.

This can reduce the memory footprint by 4x at the cost of some accuracy.
            Values: `bbq_flat`, `bbq_hnsw`, `flat`, `hnsw`, `int4_flat`, `int4_hnsw`, `int8_flat`, `int8_hnsw`
          - `rescore_vector` (object)
            The rescore vector options. This is only applicable to `bbq_disk`, `bbq_hnsw`, `int4_hnsw`, `int8_hnsw`, `bbq_flat`, `int4_flat`, and `int8_flat` index types.
            - `oversample` (number)
              The oversampling factor to use when searching for the nearest neighbor. This is only applicable to the quantized formats: `bbq_*`, `int4_*`, and `int8_*`.
When provided, `oversample * k` vectors will be gathered and then their scores will be re-computed with the original vectors.

valid values are between `1.0` and `10.0` (inclusive), or `0` exactly to disable oversampling.
        - `similarity` (enum)
          The vector similarity metric to use in kNN search.

Documents are ranked by their vector field's similarity to the query vector. The `_score` of each document will
be derived from the similarity, in a way that ensures scores are positive and that a larger score corresponds
to a higher ranking.

Defaults to `l2_norm` when `element_type` is `bit` otherwise defaults to `cosine`.

`bit` vectors only support `l2_norm` as their similarity metric.

This parameter can only be specified when `index` is `true`.

Supported values include:
  - `cosine`: Computes the cosine similarity. During indexing Elasticsearch automatically normalizes vectors with `cosine`
similarity to unit length. This allows to internally use `dot_product` for computing similarity, which is more
efficient. Original un-normalized vectors can be still accessed through scripts.

The document `_score` is computed as `(1 + cosine(query, vector)) / 2`.

The `cosine` similarity does not allow vectors with zero magnitude, since cosine is not defined in this case.
  - `dot_product`: Computes the dot product of two unit vectors. This option provides an optimized way to perform cosine similarity.
The constraints and computed score are defined by `element_type`.

When `element_type` is `float`, all vectors must be unit length, including both document and query vectors.

The document `_score` is computed as `(1 + dot_product(query, vector)) / 2`.

When `element_type` is `byte`, all vectors must have the same length including both document and query vectors or
results will be inaccurate.

The document `_score` is computed as `0.5 + (dot_product(query, vector) / (32768 * dims))` where `dims` is the
number of dimensions per vector.
  - `l2_norm`: Computes similarity based on the `L2` distance (also known as Euclidean distance) between the vectors.

The document `_score` is computed as `1 / (1 + l2_norm(query, vector)^2)`.

For `bit` vectors, instead of using `l2_norm`, the `hamming` distance between the vectors is used.

The `_score` transformation is `(numBits - hamming(a, b)) / numBits`.
  - `max_inner_product`: Computes the maximum inner product of two vectors. This is similar to `dot_product`, but doesn't require vectors
to be normalized. This means that each vector’s magnitude can significantly effect the score.

The document `_score` is adjusted to prevent negative values. For `max_inner_product` values `< 0`, the `_score`
is `1 / (1 + -1 * max_inner_product(query, vector))`. For non-negative `max_inner_product` results the `_score`
is calculated `max_inner_product(query, vector) + 1`.
          Values: `cosine`, `dot_product`, `l2_norm`, `max_inner_product`
      - **type: flattened** (`type: flattened`)
        - `type` (enum)
          Values: `flattened`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `boost` (number)
        - `depth_limit` (number)
        - `doc_values` (boolean)
        - `eager_global_ordinals` (boolean)
        - `index` (boolean)
        - `index_options` (enum)
          Values: `docs`, `freqs`, `positions`, `offsets`
        - `null_value` (string)
        - `preserve_leaf_arrays` (enum)
          How leaf arrays are represented in synthetic source.
When set to `lossy`, leaf arrays are sorted, de-nulled, and deduplicated in the returned synthetic source.
When set to `exact`, leaf arrays preserve order, nulls, and duplicates.
          Values: `lossy`, `exact`
        - `similarity` (string)
        - `split_queries_on_whitespace` (boolean)
        - `time_series_dimensions` (string[])
      - **type: nested** (`type: nested`)
        - `type` (enum)
          Values: `nested`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `enabled` (boolean)
        - `include_in_parent` (boolean)
        - `include_in_root` (boolean)
      - **type: object** (`type: object`)
        - `type` (enum)
          Values: `object`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `enabled` (boolean)
        - `subobjects` (enum)
          Values: `true`, `false`
      - **type: passthrough** (`type: passthrough`)
        - `type` (enum)
          Values: `passthrough`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `enabled` (boolean)
        - `priority` (number)
        - `time_series_dimension` (boolean)
      - **type: rank_vectors** (`type: rank_vectors`)
        Technical preview
        - `type` (enum)
          Values: `rank_vectors`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `element_type` (enum)
          Values: `byte`, `float`, `bit`
        - `dims` (number)
      - **type: semantic_text** (`type: semantic_text`)
        - `type` (enum)
          Values: `semantic_text`
        - `meta` (map string to string)
        - `inference_id` (string · default: .jina-embeddings-v5-text-small)
          Inference endpoint that will be used to generate embeddings for the field.
This parameter cannot be updated. Use the Create inference API to create the endpoint.
If `search_inference_id` is specified, the inference endpoint will only be used at index time.
If the `inference_id` is not specified, it will default to `.jina-embeddings-v5-text-small` if the cluster is authorized to use the Elastic Inference Service,
otherwise it will default to `.elser-2-elasticsearch`. The `.elser-2-elasticsearch` inference endpoint relies on a local ML node to run the ELSER model.
        - `search_inference_id` (string)
          Inference endpoint that will be used to generate embeddings at query time.
You can update this parameter by using the Update mapping API. Use the Create inference API to create the endpoint.
If not specified, the inference endpoint defined by inference_id will be used at both index and query time.
        - `index_options` (object)
          Settings for index_options that override any defaults used by semantic_text, for example
specific quantization settings.
          - `dense_vector` (object)
            - `confidence_interval` (number) — deprecated
              The confidence interval to use when quantizing the vectors. Can be any value between and including `0.90` and
`1.0` or exactly `0`. When the value is `0`, this indicates that dynamic quantiles should be calculated for
optimized quantization. When between `0.90` and `1.0`, this value restricts the values used when calculating
the quantization thresholds.

For example, a value of `0.95` will only use the middle `95%` of the values when calculating the quantization
thresholds (e.g. the highest and lowest `2.5%` of values will be ignored).

Defaults to `1/(dims + 1)` for `int8` quantized vectors and `0` for `int4` for dynamic quantile calculation.

Only applicable to `int8_hnsw`, `int4_hnsw`, `int8_flat`, and `int4_flat` index types.
            - `ef_construction` (number · default: 100)
              The number of candidates to track while assembling the list of nearest neighbors for each new node.

Only applicable to `hnsw`, `int8_hnsw`, `bbq_hnsw`, and `int4_hnsw` index types.
            - `m` (number · default: 16)
              The number of neighbors each node will be connected to in the HNSW graph.

Only applicable to `hnsw`, `int8_hnsw`, `bbq_hnsw`, and `int4_hnsw` index types.
            - `type` (enum)
              The type of kNN algorithm to use.

Supported values include:
  - `bbq_flat`: This utilizes a brute-force search algorithm in addition to automatically quantizing to binary vectors.
Only supports `element_type` of `float`.
  - `bbq_hnsw`: This utilizes the HNSW algorithm in addition to automatic binary quantization for scalable approximate kNN
search with `element_type` of `float`.

This can reduce the memory footprint by nearly 32x at the cost of some accuracy.
  - `flat`: This utilizes a brute-force search algorithm for exact kNN search. This supports all `element_type` values.
  - `hnsw`: This utilizes the HNSW algorithm for scalable approximate kNN search. This supports all `element_type` values.
  - `int4_flat`: This utilizes a brute-force search algorithm in addition to automatically half-byte scalar quantization.
Only supports `element_type` of `float`.
  - `int4_hnsw`: This utilizes the HNSW algorithm in addition to automatically scalar quantization for scalable approximate kNN
search with `element_type` of `float`.

This can reduce the memory footprint by 8x at the cost of some accuracy.
  - `int8_flat`: This utilizes a brute-force search algorithm in addition to automatically scalar quantization. Only supports
`element_type` of `float`.
  - `int8_hnsw`: The default index type for `float` vectors. This utilizes the HNSW algorithm in addition to automatically scalar
quantization for scalable approximate kNN search with `element_type` of `float`.

This can reduce the memory footprint by 4x at the cost of some accuracy.
              Values: `bbq_flat`, `bbq_hnsw`, `flat`, `hnsw`, `int4_flat`, `int4_hnsw`, `int8_flat`, `int8_hnsw`
            - `rescore_vector` (object)
              The rescore vector options. This is only applicable to `bbq_disk`, `bbq_hnsw`, `int4_hnsw`, `int8_hnsw`, `bbq_flat`, `int4_flat`, and `int8_flat` index types.
              - `oversample` (number)
                The oversampling factor to use when searching for the nearest neighbor. This is only applicable to the quantized formats: `bbq_*`, `int4_*`, and `int8_*`.
When provided, `oversample * k` vectors will be gathered and then their scores will be re-computed with the original vectors.

valid values are between `1.0` and `10.0` (inclusive), or `0` exactly to disable oversampling.
          - `sparse_vector` (object)
            - `prune` (boolean)
              Whether to perform pruning, omitting the non-significant tokens from the query to improve query performance.
If prune is true but the pruning_config is not specified, pruning will occur but default values will be used.
Default: false
            - `pruning_config` (object)
              Optional pruning configuration.
If enabled, this will omit non-significant tokens from the query in order to improve query performance.
This is only used if prune is set to true.
If prune is set to true but pruning_config is not specified, default values will be used.
              - `tokens_freq_ratio_threshold` (number · default: 5)
                Tokens whose frequency is more than this threshold times the average frequency of all tokens in the specified field are considered outliers and pruned.
              - `tokens_weight_threshold` (number · default: 0.4)
                Tokens whose weight is less than this threshold are considered nonsignificant and pruned.
              - `only_score_pruned_tokens` (boolean · default: false)
                Whether to only score pruned tokens, vs only scoring kept tokens.
        - `chunking_settings` (union oneOf) — nullable
          Settings for chunking text into smaller passages. If specified, these will override the
chunking settings sent in the inference endpoint associated with inference_id. If chunking settings are updated,
they will not be applied to existing documents until they are reindexed.
          - **ChunkingSettings**
            - `strategy` (string · default: sentence)
              The chunking strategy: `sentence`, `word`, `none` or `recursive`.

 * If `strategy` is set to `recursive`, you must also specify:

- `max_chunk_size`
- either `separators` or`separator_group`

Learn more about different chunking strategies in the linked documentation.
            - `max_chunk_size` (number · default: 250)
              The maximum size of a chunk in words.
This value cannot be lower than `20` (for `sentence` strategy) or `10` (for `word` strategy).
This value should not exceed the window size for the associated model.
            - `overlap` (number · default: 100)
              The number of overlapping words for chunks.
It is applicable only to a `word` chunking strategy.
This value cannot be higher than half the `max_chunk_size` value.
            - `sentence_overlap` (number · default: 1)
              The number of overlapping sentences for chunks.
It is applicable only for a `sentence` chunking strategy.
It can be either `1` or `0`.
            - `separator_group` (string)
              Only applicable to the `recursive` strategy and required when using it.

Sets a predefined list of separators in the saved chunking settings based on the selected text type.
Values can be `markdown` or `plaintext`.

Using this parameter is an alternative to manually specifying a custom `separators` list.
            - `separators` (string[])
              Only applicable to the `recursive` strategy and required when using it.

A list of strings used as possible split points when chunking text.

Each string can be a plain string or a regular expression (regex) pattern.
The system tries each separator in order to split the text, starting from the first item in the list.

After splitting, it attempts to recombine smaller pieces into larger chunks that stay within
the `max_chunk_size` limit, to reduce the total number of chunks generated.
          - **string**
        - `fields` (map string to oneOf) — recursive
          Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one
field for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.
      - **type: sparse_vector** (`type: sparse_vector`)
        - `type` (enum)
          Values: `sparse_vector`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `store` (boolean)
        - `index_options` (object)
          Additional index options for the sparse vector field that controls the
token pruning behavior of the sparse vector field.
          - `prune` (boolean)
            Whether to perform pruning, omitting the non-significant tokens from the query to improve query performance.
If prune is true but the pruning_config is not specified, pruning will occur but default values will be used.
Default: false
          - `pruning_config` (object)
            Optional pruning configuration.
If enabled, this will omit non-significant tokens from the query in order to improve query performance.
This is only used if prune is set to true.
If prune is set to true but pruning_config is not specified, default values will be used.
            - `tokens_freq_ratio_threshold` (number · default: 5)
              Tokens whose frequency is more than this threshold times the average frequency of all tokens in the specified field are considered outliers and pruned.
            - `tokens_weight_threshold` (number · default: 0.4)
              Tokens whose weight is less than this threshold are considered nonsignificant and pruned.
            - `only_score_pruned_tokens` (boolean · default: false)
              Whether to only score pruned tokens, vs only scoring kept tokens.
      - **type: completion** (`type: completion`)
        - `type` (enum)
          Values: `completion`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `analyzer` (string)
        - `contexts` (object[])
          - `name` (string)
          - `path` (string)
          - `type` (string)
          - `precision` (number | string)
        - `max_input_length` (number)
        - `preserve_position_increments` (boolean)
        - `preserve_separators` (boolean)
        - `search_analyzer` (string)
      - **type: constant_keyword** (`type: constant_keyword`)
        - `type` (enum)
          Values: `constant_keyword`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `value` (object)
      - **type: counted_keyword** (`type: counted_keyword`)
        - `type` (enum)
          Values: `counted_keyword`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `index` (boolean)
      - **type: alias** (`type: alias`)
        - `type` (enum)
          Values: `alias`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `path` (string)
      - **type: histogram** (`type: histogram`)
        - `type` (enum)
          Values: `histogram`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `ignore_malformed` (boolean)
        - `time_series_metric` (enum)
          Values: `gauge`, `counter`, `summary`, `histogram`, `position`
      - **type: exponential_histogram** (`type: exponential_histogram`)
        - `type` (enum)
          Values: `exponential_histogram`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `time_series_metric` (enum)
          Values: `gauge`, `counter`, `summary`, `histogram`, `position`
      - **type: ip** (`type: ip`)
        - `type` (enum)
          Values: `ip`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `index` (boolean)
        - `ignore_malformed` (boolean)
        - `null_value` (string)
        - `on_script_error` (enum)
          Values: `fail`, `continue`
        - `script` (string)
        - `time_series_dimension` (boolean)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
      - **type: murmur3** (`type: murmur3`)
        - `type` (enum)
          Values: `murmur3`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
      - **type: token_count** (`type: token_count`)
        - `type` (enum)
          Values: `token_count`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `analyzer` (string)
        - `boost` (number)
        - `index` (boolean)
        - `null_value` (number)
        - `enable_position_increments` (boolean)
      - **type: geo_point** (`type: geo_point`)
        - `type` (enum)
          Values: `geo_point`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `ignore_malformed` (boolean)
        - `ignore_z_value` (boolean)
        - `null_value` (union oneOf)
          - **LatLonGeoLocation**
            - `lat` (number)
              Latitude
            - `lon` (number)
              Longitude
          - **GeoHashLocation**
            - `geohash` (string)
          - **[]number**
          - **string**
        - `index` (boolean)
        - `on_script_error` (enum)
          Values: `fail`, `continue`
        - `script` (string)
        - `time_series_metric` (enum)
          Values: `gauge`, `counter`, `position`
      - **type: geo_shape** (`type: geo_shape`)
        The `geo_shape` data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles
and polygons.
        - `type` (enum)
          Values: `geo_shape`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `coerce` (boolean)
        - `ignore_malformed` (boolean)
        - `ignore_z_value` (boolean)
        - `index` (boolean)
        - `orientation` (enum)
          Values: `right`, `RIGHT`, `counterclockwise`, `ccw`, `left`, `LEFT`, `clockwise`, `cw`
        - `strategy` (enum)
          Values: `recursive`, `term`
      - **type: point** (`type: point`)
        - `type` (enum)
          Values: `point`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `ignore_malformed` (boolean)
        - `ignore_z_value` (boolean)
        - `null_value` (string)
      - **type: shape** (`type: shape`)
        The `shape` data type facilitates the indexing of and searching with arbitrary `x, y` cartesian shapes such as
rectangles and polygons.
        - `type` (enum)
          Values: `shape`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `coerce` (boolean)
        - `ignore_malformed` (boolean)
        - `ignore_z_value` (boolean)
        - `orientation` (enum)
          Values: `right`, `RIGHT`, `counterclockwise`, `ccw`, `left`, `LEFT`, `clockwise`, `cw`
      - **type: byte** (`type: byte`)
        - `type` (enum)
          Values: `byte`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `coerce` (boolean)
        - `ignore_malformed` (boolean)
        - `index` (boolean)
        - `on_script_error` (enum)
          Values: `fail`, `continue`
        - `script` (string)
        - `time_series_metric` (enum)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
          Values: `gauge`, `counter`, `summary`, `histogram`, `position`
        - `time_series_dimension` (boolean · default: false)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
        - `null_value` (number)
      - **type: double** (`type: double`)
        - `type` (enum)
          Values: `double`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `coerce` (boolean)
        - `ignore_malformed` (boolean)
        - `index` (boolean)
        - `on_script_error` (enum)
          Values: `fail`, `continue`
        - `script` (string)
        - `time_series_metric` (enum)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
          Values: `gauge`, `counter`, `summary`, `histogram`, `position`
        - `time_series_dimension` (boolean · default: false)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
        - `null_value` (number)
      - **type: float** (`type: float`)
        - `type` (enum)
          Values: `float`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `coerce` (boolean)
        - `ignore_malformed` (boolean)
        - `index` (boolean)
        - `on_script_error` (enum)
          Values: `fail`, `continue`
        - `script` (string)
        - `time_series_metric` (enum)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
          Values: `gauge`, `counter`, `summary`, `histogram`, `position`
        - `time_series_dimension` (boolean · default: false)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
        - `null_value` (number)
      - **type: half_float** (`type: half_float`)
        - `type` (enum)
          Values: `half_float`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `coerce` (boolean)
        - `ignore_malformed` (boolean)
        - `index` (boolean)
        - `on_script_error` (enum)
          Values: `fail`, `continue`
        - `script` (string)
        - `time_series_metric` (enum)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
          Values: `gauge`, `counter`, `summary`, `histogram`, `position`
        - `time_series_dimension` (boolean · default: false)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
        - `null_value` (number)
      - **type: integer** (`type: integer`)
        - `type` (enum)
          Values: `integer`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `coerce` (boolean)
        - `ignore_malformed` (boolean)
        - `index` (boolean)
        - `on_script_error` (enum)
          Values: `fail`, `continue`
        - `script` (string)
        - `time_series_metric` (enum)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
          Values: `gauge`, `counter`, `summary`, `histogram`, `position`
        - `time_series_dimension` (boolean · default: false)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
        - `null_value` (number)
      - **type: long** (`type: long`)
        - `type` (enum)
          Values: `long`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `coerce` (boolean)
        - `ignore_malformed` (boolean)
        - `index` (boolean)
        - `on_script_error` (enum)
          Values: `fail`, `continue`
        - `script` (string)
        - `time_series_metric` (enum)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
          Values: `gauge`, `counter`, `summary`, `histogram`, `position`
        - `time_series_dimension` (boolean · default: false)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
        - `null_value` (number)
      - **type: scaled_float** (`type: scaled_float`)
        - `type` (enum)
          Values: `scaled_float`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `coerce` (boolean)
        - `ignore_malformed` (boolean)
        - `index` (boolean)
        - `on_script_error` (enum)
          Values: `fail`, `continue`
        - `script` (string)
        - `time_series_metric` (enum)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
          Values: `gauge`, `counter`, `summary`, `histogram`, `position`
        - `time_series_dimension` (boolean · default: false)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
        - `null_value` (number)
        - `scaling_factor` (number)
      - **type: short** (`type: short`)
        - `type` (enum)
          Values: `short`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `coerce` (boolean)
        - `ignore_malformed` (boolean)
        - `index` (boolean)
        - `on_script_error` (enum)
          Values: `fail`, `continue`
        - `script` (string)
        - `time_series_metric` (enum)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
          Values: `gauge`, `counter`, `summary`, `histogram`, `position`
        - `time_series_dimension` (boolean · default: false)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
        - `null_value` (number)
      - **type: unsigned_long** (`type: unsigned_long`)
        - `type` (enum)
          Values: `unsigned_long`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `coerce` (boolean)
        - `ignore_malformed` (boolean)
        - `index` (boolean)
        - `on_script_error` (enum)
          Values: `fail`, `continue`
        - `script` (string)
        - `time_series_metric` (enum)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
          Values: `gauge`, `counter`, `summary`, `histogram`, `position`
        - `time_series_dimension` (boolean · default: false)
          For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.
        - `null_value` (number)
      - **type: date_range** (`type: date_range`)
        - `type` (enum)
          Values: `date_range`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `coerce` (boolean)
        - `index` (boolean)
        - `format` (string)
      - **type: double_range** (`type: double_range`)
        - `type` (enum)
          Values: `double_range`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `coerce` (boolean)
        - `index` (boolean)
      - **type: float_range** (`type: float_range`)
        - `type` (enum)
          Values: `float_range`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `coerce` (boolean)
        - `index` (boolean)
      - **type: integer_range** (`type: integer_range`)
        - `type` (enum)
          Values: `integer_range`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `coerce` (boolean)
        - `index` (boolean)
      - **type: ip_range** (`type: ip_range`)
        - `type` (enum)
          Values: `ip_range`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `coerce` (boolean)
        - `index` (boolean)
      - **type: long_range** (`type: long_range`)
        - `type` (enum)
          Values: `long_range`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `boost` (number)
        - `coerce` (boolean)
        - `index` (boolean)
      - **type: icu_collation_keyword** (`type: icu_collation_keyword`)
        - `type` (enum)
          Values: `icu_collation_keyword`
        - `meta` (map string to string)
          Metadata about the field.
        - `properties` (map string to oneOf) — recursive
        - `ignore_above` (number)
        - `dynamic` (enum)
          Values: `strict`, `runtime`, `true`, `false`
        - `fields` (map string to oneOf) — recursive
        - `synthetic_source_keep` (enum)
          

Supported values include:
  - `none`: Synthetic source diverges from the original source (default)
  - `arrays`: Arrays of the corresponding field or object preserve the original element ordering and duplicate elements.
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly,
e.g. array [1, 2, [5], [[4, [3]]], 5] may appear as-is or in an equivalent format like [1, 2, 5, 4, 3, 5].
The exact format may change in the future, in an effort to reduce the storage overhead of this option.
  - `all`: The source for both singleton instances and arrays of the corresponding field or object gets recorded.
When applied to objects, the source of all sub-objects and sub-fields gets captured.
Furthermore, the original source of arrays gets captured and appears in synthetic source with no modifications.
          Values: `none`, `arrays`, `all`
        - `copy_to` (union oneOf)
          One of: `string[]` or `string`
        - `store` (boolean)
        - `doc_values` (union oneOf)
          - **boolean**
          - **DocValuesConfig**
            Configuration object for doc values when sub-parameters are needed.
            - `multi_value` (boolean · default: true)
              If `false`, the field is treated as single-valued, enabling optimized storage.
Only has an effect when columnar index mode is active.
            - `nullability` (boolean · default: true)
              If `false`, every document must provide a non-null value for the field: a document that
omits the field, sets it to `null`, or supplies only null values (an empty array or an
all-null array) is rejected at index time.
A field that defines `null_value` is always exempt, since the configured default removes
the absence of a value.
Only has an effect when columnar index mode is active.
        - `norms` (boolean)
        - `index_options` (enum)
          Values: `docs`, `freqs`, `positions`, `offsets`
        - `index` (boolean)
          Should the field be searchable?
        - `null_value` (string)
          Accepts a string value which is substituted for any explicit null values. Defaults to null, which means the field is treated as missing.
        - `rules` (string)
        - `language` (string)
        - `country` (string)
        - `variant` (string)
        - `strength` (enum)
          Values: `primary`, `secondary`, `tertiary`, `quaternary`, `identical`
        - `decomposition` (enum)
          Values: `no`, `identical`
        - `alternate` (enum)
          Values: `shifted`, `non-ignorable`
        - `case_level` (boolean)
        - `case_first` (enum)
          Values: `lower`, `upper`
        - `numeric` (boolean)
        - `variable_top` (string)
        - `hiragana_quaternary_mode` (boolean)
    - `_routing` (object)
      - `required` (boolean)
    - `_size` (object)
      - `enabled` (boolean)
    - `_source` (object)
      - `enabled` (boolean)
      - `excludes` (string[])
      - `includes` (string[])
      - `mode` (enum)
        

Supported values include:
  - `disabled`
  - `stored`
  - `synthetic`: Instead of storing source documents on disk exactly as you send them,
 Elasticsearch can reconstruct source content on the fly upon retrieval.
        Values: `disabled`, `stored`, `synthetic`
    - `runtime` (map string to object)
      Map values (object)
      - `fields` (map string to object)
        For type `composite`
        Map values (object)
        - `type` (enum)
          Values: `boolean`, `composite`, `date`, `double`, `geo_point`, `geo_shape`, `ip`, `keyword`, `long`, `lookup`
      - `fetch_fields` (object[])
        For type `lookup`
        - `field` (string)
        - `format` (string)
      - `format` (string)
        A custom format for `date` type runtime fields.
      - `input_field` (string)
        For type `lookup`
      - `target_field` (string)
        For type `lookup`
      - `target_index` (string)
        For type `lookup`
      - `script` (string)
        Painless script executed at query time.
      - `on_script_error` (enum)
        Values: `fail`, `continue`
      - `type` (enum)
        Field type, which can be: `boolean`, `composite`, `date`, `double`, `geo_point`, `ip`,`keyword`, `long`, or `lookup`.
        Values: `boolean`, `composite`, `date`, `double`, `geo_point`, `geo_shape`, `ip`, `keyword`, `long`, `lookup`
    - `enabled` (boolean)
    - `subobjects` (enum)
      Values: `true`, `false`
    - `_data_stream_timestamp` (object)
      - `enabled` (boolean)
  - `settings` (object)
    - `index` (object) — recursive
      Same fields as `settings` in `generated_dest_index`
    - `mode` (string)
    - `routing_path` (union string | string[])
    - `soft_deletes` (object)
      - `enabled` (boolean · default: true)
        Indicates whether soft deletes are enabled on the index.
      - `retention_lease` (object)
        The maximum period to retain a shard history retention lease before it is considered expired.
Shard history retention leases ensure that soft deletes are retained during merges on the Lucene
index. If a soft delete is merged away before it can be replicated to a follower the following
process will fail due to incomplete history on the leader.
        - `period` (union oneOf)
          Values: `-1`, `0`
    - `sort` (object)
      - `field` (union oneOf)
        One of: `string[]` or `string`
      - `order` (union enum | enum[])
        

Supported values include: `asc` (or `ASC`), `desc` (or `DESC`)
        Values: `asc`, `ASC`, `desc`, `DESC`
      - `mode` (union enum | enum[])
        

Supported values include: `min` (or `MIN`), `max` (or `MAX`)
        Values: `min`, `MIN`, `max`, `MAX`
      - `missing` (union enum | enum[])
        

Supported values include: `_last`, `_first`
        Values: `_last`, `_first`
    - `number_of_routing_shards` (number)
    - `check_on_startup` (enum · default: false)
      Values: `true`, `false`, `checksum`
    - `codec` (string · default: LZ4)
    - `routing_partition_size` (number | string · default: 1)
    - `load_fixed_bitset_filters_eagerly` (boolean · default: true)
    - `hidden` (boolean | string · default: false)
    - `auto_expand_replicas` (union string · default: false) — nullable
    - `merge` (object)
      - `scheduler` (object)
        - `max_thread_count` (number | string)
        - `max_merge_count` (number | string)
    - `search` (object)
      - `idle` (object)
        - `after` (union oneOf · default: 30s)
          Values: `-1`, `0`
      - `slowlog` (object)
        - `level` (string)
        - `source` (number)
        - `reformat` (boolean)
        - `threshold` (object)
          - `query` (object)
            - `warn` (union oneOf)
              Values: `-1`, `0`
            - `info` (union oneOf)
              Values: `-1`, `0`
            - `debug` (union oneOf)
              Values: `-1`, `0`
            - `trace` (union oneOf)
              Values: `-1`, `0`
          - `fetch` (object)
            - `warn` (union oneOf)
              Values: `-1`, `0`
            - `info` (union oneOf)
              Values: `-1`, `0`
            - `debug` (union oneOf)
              Values: `-1`, `0`
            - `trace` (union oneOf)
              Values: `-1`, `0`
    - `refresh_interval` (union oneOf · default: 1s)
      Values: `-1`, `0`
    - `max_result_window` (number | string · default: 10000)
    - `max_inner_result_window` (number · default: 100)
    - `max_rescore_window` (number · default: 10000)
    - `max_docvalue_fields_search` (number · default: 100)
    - `max_script_fields` (number · default: 32)
    - `max_ngram_diff` (number · default: 1)
    - `max_shingle_diff` (number · default: 3)
    - `blocks` (object)
      - `read_only` (boolean | string)
      - `read_only_allow_delete` (boolean | string)
      - `read` (boolean | string)
      - `write` (boolean | string)
      - `metadata` (boolean | string)
    - `max_refresh_listeners` (number)
    - `analyze` (object)
      Settings to define analyzers, tokenizers, token filters and character filters.
Refer to the linked documentation for step-by-step examples of updating analyzers on existing indices.
      - `max_token_count` (number | string · default: 10000)
    - `highlight` (object)
      - `max_analyzed_offset` (number · default: 1000000)
    - `max_terms_count` (number · default: 65536)
    - `max_regex_length` (number · default: 1000)
    - `routing` (object)
      - `allocation` (object)
        - `enable` (enum)
          Values: `all`, `primaries`, `new_primaries`, `none`
        - `include` (object)
          - `_tier_preference` (string)
          - `_id` (string)
        - `require` (object)
          Assign the index to a node whose attribute has all of the given values.
Each key is a node attribute: one of the built-in attributes `_name`, `_host_ip`, `_publish_ip`, `_ip`, `_host`, `_id` and `_tier`, or a custom node attribute.
Each value is a comma-separated string or an array of strings, and can use wildcards.
        - `initial_recovery` (object)
          - `_id` (string)
        - `disk` (object)
          - `threshold_enabled` (boolean | string)
      - `rebalance` (object)
        - `enable` (enum)
          Values: `all`, `primaries`, `replicas`, `none`
    - `unassigned` (object)
      - `node_left` (object)
        - `delayed_timeout` (union oneOf · default: 1m)
          The amount of time to wait for a node that has left before assuming its
shards are permanently missing and starting to allocate replacement replicas.
          Values: `-1`, `0`
    - `gc_deletes` (union oneOf · default: 60s)
      Values: `-1`, `0`
    - `default_pipeline` (string · default: _none)
    - `final_pipeline` (string · default: _none)
    - `lifecycle` (object)
      - `name` (string)
        The name of the policy to use to manage the index. For information about how Elasticsearch applies policy changes, see Policy updates.
      - `indexing_complete` (boolean | string · default: false)
        Indicates whether or not the index has been rolled over. Automatically set to true when ILM completes the rollover action.
You can explicitly set it to skip rollover.
      - `origination_date` (number · default: 0)
        If specified, this is the timestamp used to calculate the index age for its phase transitions. Use this setting
if you create a new index that contains old data and want to use the original creation date to calculate the index
age. Specified as a Unix epoch value in milliseconds.
      - `parse_origination_date` (boolean)
        Set to true to parse the origination date from the index name. This origination date is used to calculate the index age
for its phase transitions. The index name must match the pattern ^.*-{date_format}-\\d+, where the date_format is
yyyy.MM.dd and the trailing digits are optional. An index that was rolled over would normally match the full format,
for example logs-2016.10.31-000002). If the index name doesn’t match the pattern, index creation fails.
      - `step` (object)
        - `wait_time_threshold` (union oneOf)
          Time to wait for the cluster to resolve allocation issues during an ILM shrink action. Must be greater than 1h (1 hour).
See Shard allocation for shrink.
          Values: `-1`, `0`
      - `rollover_alias` (string)
        The index alias to update when the index rolls over. Specify when using a policy that contains a rollover action.
When the index rolls over, the alias is updated to reflect that the index is no longer the write index. For more
information about rolling indices, see Rollover.
      - `prefer_ilm` (boolean | string · default: true)
        Preference for the system that manages a data stream backing index (preferring ILM when both ILM and DLM are
applicable for an index).
    - `provided_name` (string)
    - `creation_date` (union oneOf)
      One of: `number` or `string`
    - `creation_date_string` (union oneOf)
      One of: `string` or `number`
    - `uuid` (string)
    - `version` (object)
      - `created` (string)
      - `created_string` (string)
    - `verified_before_close` (boolean | string)
    - `format` (number | string)
    - `max_slices_per_scroll` (number)
    - `translog` (object)
      - `sync_interval` (union oneOf · default: 5s)
        How often the translog is fsynced to disk and committed, regardless of write operations.
Values less than 100ms are not allowed.
        Values: `-1`, `0`
      - `durability` (enum · default: string)
        Whether or not to `fsync` and commit the translog after every index, delete, update, or bulk request.

Supported values include:
  - `request` (or `REQUEST`): (default) fsync and commit after every request. In the event of hardware failure, all acknowledged writes
will already have been committed to disk.
  - `async` (or `ASYNC`): fsync and commit in the background every sync_interval. In the event of a failure, all acknowledged writes
since the last automatic commit will be discarded.
        Values: `request`, `REQUEST`, `async`, `ASYNC`
      - `flush_threshold_size` (number | string · default: 512mb)
        The translog stores all operations that are not yet safely persisted in Lucene (i.e., are not
part of a Lucene commit point). Although these operations are available for reads, they will need
to be replayed if the shard was stopped and had to be recovered. This setting controls the
maximum total size of these operations, to prevent recoveries from taking too long. Once the
maximum size has been reached a flush will happen, generating a new Lucene commit point.
      - `retention` (object)
        - `size` (number | string · default: 512mb)
          This controls the total size of translog files to keep for each shard. Keeping more translog files increases
the chance of performing an operation based sync when recovering a replica. If the translog files are not
sufficient, replica recovery will fall back to a file based sync. This setting is ignored, and should not be
set, if soft deletes are enabled. Soft deletes are enabled by default in indices created in Elasticsearch
versions 7.0.0 and later.
        - `age` (union oneOf · default: 12h)
          This controls the maximum duration for which translog files are kept by each shard. Keeping more
translog files increases the chance of performing an operation based sync when recovering replicas. If
the translog files are not sufficient, replica recovery will fall back to a file based sync. This setting
is ignored, and should not be set, if soft deletes are enabled. Soft deletes are enabled by default in
indices created in Elasticsearch versions 7.0.0 and later.
          Values: `-1`, `0`
    - `query_string` (object)
      - `lenient` (boolean | string)
    - `priority` (number | string)
    - `top_metrics_max_size` (number)
    - `analysis` (object)
      - `analyzer` (map string to oneOf)
        Map values (union oneOf)
        One of:
        - **type: custom** (`type: custom`)
          - `type` (enum)
            Values: `custom`
          - `char_filter` (union string | string[])
          - `filter` (union string | string[])
          - `position_increment_gap` (number)
          - `position_offset_gap` (number)
          - `tokenizer` (string)
        - **type: fingerprint** (`type: fingerprint`)
          - `type` (enum)
            Values: `fingerprint`
          - `version` (string) — deprecated
          - `max_output_size` (number · default: 255)
            The maximum token size to emit. Tokens larger than this size will be discarded.
Defaults to `255`
          - `separator` (string)
            The character to use to concatenate the terms.
Defaults to a space.
          - `stopwords` (union oneOf · default: _none_)
            A pre-defined stop words list like `_english_` or an array containing a list of stop words.
Defaults to `_none_`.
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
            The path to a file containing stop words.
        - **type: keyword** (`type: keyword`)
          - `type` (enum)
            Values: `keyword`
          - `version` (string) — deprecated
        - **type: nori** (`type: nori`)
          - `type` (enum)
            Values: `nori`
          - `version` (string) — deprecated
          - `decompound_mode` (enum)
            Values: `discard`, `none`, `mixed`
          - `stoptags` (string[])
          - `user_dictionary` (string)
        - **type: pattern** (`type: pattern`)
          - `type` (enum)
            Values: `pattern`
          - `version` (string) — deprecated
          - `flags` (string)
            Java regular expression flags. Flags should be pipe-separated, eg "CASE_INSENSITIVE|COMMENTS".
          - `lowercase` (boolean · default: true)
            Should terms be lowercased or not.
Defaults to `true`.
          - `pattern` (string · default: \W+)
            A Java regular expression.
Defaults to `\W+`.
          - `stopwords` (union oneOf · default: _none_)
            A pre-defined stop words list like `_english_` or an array containing a list of stop words.
Defaults to `_none_`.
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
            The path to a file containing stop words.
        - **type: simple** (`type: simple`)
          - `type` (enum)
            Values: `simple`
          - `version` (string) — deprecated
        - **type: standard** (`type: standard`)
          - `type` (enum)
            Values: `standard`
          - `max_token_length` (number · default: 255)
            The maximum token length. If a token is seen that exceeds this length then it is split at `max_token_length` intervals.
Defaults to `255`.
          - `stopwords` (union oneOf · default: _none_)
            A pre-defined stop words list like `_english_` or an array containing a list of stop words.
Defaults to `_none_`.
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
            The path to a file containing stop words.
        - **type: stop** (`type: stop`)
          - `type` (enum)
            Values: `stop`
          - `version` (string) — deprecated
          - `stopwords` (union oneOf · default: _none_)
            A pre-defined stop words list like `_english_` or an array containing a list of stop words.
Defaults to `_none_`.
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
            The path to a file containing stop words.
        - **type: whitespace** (`type: whitespace`)
          - `type` (enum)
            Values: `whitespace`
          - `version` (string) — deprecated
        - **type: icu_analyzer** (`type: icu_analyzer`)
          - `type` (enum)
            Values: `icu_analyzer`
          - `method` (enum)
            Values: `nfc`, `nfkc`, `nfkc_cf`
          - `mode` (enum)
            Values: `decompose`, `compose`
        - **type: kuromoji** (`type: kuromoji`)
          - `type` (enum)
            Values: `kuromoji`
          - `mode` (enum)
            Values: `normal`, `search`, `extended`
          - `user_dictionary` (string)
        - **type: snowball** (`type: snowball`)
          - `type` (enum)
            Values: `snowball`
          - `version` (string) — deprecated
          - `language` (enum)
            Values: `Arabic`, `Armenian`, `Basque`, `Catalan`, `Danish`, `Dutch`, `English`, `Estonian`, `Finnish`, `French`, `German`, `German2`, `Hungarian`, `Italian`, `Irish`, `Kp`, `Lithuanian`, `Lovins`, `Norwegian`, `Porter`, `Portuguese`, `Romanian`, `Russian`, `Serbian`, `Spanish`, `Swedish`, `Turkish`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
        - **type: arabic** (`type: arabic`)
          - `type` (enum)
            Values: `arabic`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: armenian** (`type: armenian`)
          - `type` (enum)
            Values: `armenian`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: basque** (`type: basque`)
          - `type` (enum)
            Values: `basque`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: bengali** (`type: bengali`)
          - `type` (enum)
            Values: `bengali`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: brazilian** (`type: brazilian`)
          - `type` (enum)
            Values: `brazilian`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
        - **type: bulgarian** (`type: bulgarian`)
          - `type` (enum)
            Values: `bulgarian`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: catalan** (`type: catalan`)
          - `type` (enum)
            Values: `catalan`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: chinese** (`type: chinese`)
          - `type` (enum)
            Values: `chinese`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
        - **type: cjk** (`type: cjk`)
          - `type` (enum)
            Values: `cjk`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
        - **type: czech** (`type: czech`)
          - `type` (enum)
            Values: `czech`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: danish** (`type: danish`)
          - `type` (enum)
            Values: `danish`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
        - **type: dutch** (`type: dutch`)
          - `type` (enum)
            Values: `dutch`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: english** (`type: english`)
          - `type` (enum)
            Values: `english`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: estonian** (`type: estonian`)
          - `type` (enum)
            Values: `estonian`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
        - **type: finnish** (`type: finnish`)
          - `type` (enum)
            Values: `finnish`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: french** (`type: french`)
          - `type` (enum)
            Values: `french`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: galician** (`type: galician`)
          - `type` (enum)
            Values: `galician`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: german** (`type: german`)
          - `type` (enum)
            Values: `german`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: greek** (`type: greek`)
          - `type` (enum)
            Values: `greek`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
        - **type: hindi** (`type: hindi`)
          - `type` (enum)
            Values: `hindi`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: hungarian** (`type: hungarian`)
          - `type` (enum)
            Values: `hungarian`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: indonesian** (`type: indonesian`)
          - `type` (enum)
            Values: `indonesian`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: irish** (`type: irish`)
          - `type` (enum)
            Values: `irish`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: italian** (`type: italian`)
          - `type` (enum)
            Values: `italian`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: latvian** (`type: latvian`)
          - `type` (enum)
            Values: `latvian`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: lithuanian** (`type: lithuanian`)
          - `type` (enum)
            Values: `lithuanian`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: norwegian** (`type: norwegian`)
          - `type` (enum)
            Values: `norwegian`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: persian** (`type: persian`)
          - `type` (enum)
            Values: `persian`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
        - **type: portuguese** (`type: portuguese`)
          - `type` (enum)
            Values: `portuguese`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: romanian** (`type: romanian`)
          - `type` (enum)
            Values: `romanian`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: russian** (`type: russian`)
          - `type` (enum)
            Values: `russian`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: serbian** (`type: serbian`)
          - `type` (enum)
            Values: `serbian`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: sorani** (`type: sorani`)
          - `type` (enum)
            Values: `sorani`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: spanish** (`type: spanish`)
          - `type` (enum)
            Values: `spanish`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: swedish** (`type: swedish`)
          - `type` (enum)
            Values: `swedish`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: turkish** (`type: turkish`)
          - `type` (enum)
            Values: `turkish`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
          - `stem_exclusion` (string[])
        - **type: thai** (`type: thai`)
          - `type` (enum)
            Values: `thai`
          - `stopwords` (union oneOf)
            Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - `stopwords_path` (string)
      - `char_filter` (map string to oneOf)
        Map values (union oneOf)
        One of:
        - **string**
        - **CharFilterDefinition**
          One of:
          - **type: html_strip** (`type: html_strip`)
            - `type` (enum)
              Values: `html_strip`
            - `version` (string)
            - `escaped_tags` (string[])
          - **type: mapping** (`type: mapping`)
            - `type` (enum)
              Values: `mapping`
            - `version` (string)
            - `mappings` (string[])
            - `mappings_path` (string)
          - **type: pattern_replace** (`type: pattern_replace`)
            - `type` (enum)
              Values: `pattern_replace`
            - `version` (string)
            - `flags` (string)
            - `pattern` (string)
            - `replacement` (string)
          - **type: icu_normalizer** (`type: icu_normalizer`)
            - `type` (enum)
              Values: `icu_normalizer`
            - `version` (string)
            - `mode` (enum)
              Values: `decompose`, `compose`
            - `name` (enum)
              Values: `nfc`, `nfkc`, `nfkc_cf`
            - `unicode_set_filter` (string)
          - **type: kuromoji_iteration_mark** (`type: kuromoji_iteration_mark`)
            - `type` (enum)
              Values: `kuromoji_iteration_mark`
            - `version` (string)
            - `normalize_kana` (boolean)
            - `normalize_kanji` (boolean)
      - `filter` (map string to oneOf)
        Map values (union oneOf)
        One of:
        - **string**
        - **TokenFilterDefinition**
          One of:
          - **type: apostrophe** (`type: apostrophe`)
            - `type` (enum)
              Values: `apostrophe`
            - `version` (string)
          - **type: arabic_stem** (`type: arabic_stem`)
            - `type` (enum)
              Values: `arabic_stem`
            - `version` (string)
          - **type: arabic_normalization** (`type: arabic_normalization`)
            - `type` (enum)
              Values: `arabic_normalization`
            - `version` (string)
          - **type: asciifolding** (`type: asciifolding`)
            - `type` (enum)
              Values: `asciifolding`
            - `version` (string)
            - `preserve_original` (boolean | string)
              If `true`, emit both original tokens and folded tokens. Defaults to `false`.
          - **type: bengali_normalization** (`type: bengali_normalization`)
            - `type` (enum)
              Values: `bengali_normalization`
            - `version` (string)
          - **type: brazilian_stem** (`type: brazilian_stem`)
            - `type` (enum)
              Values: `brazilian_stem`
            - `version` (string)
          - **type: cjk_bigram** (`type: cjk_bigram`)
            - `type` (enum)
              Values: `cjk_bigram`
            - `version` (string)
            - `ignored_scripts` (enum[])
              Array of character scripts for which to disable bigrams.
              Values: `han`, `hangul`, `hiragana`, `katakana`
            - `output_unigrams` (boolean)
              If `true`, emit tokens in both bigram and unigram form. If `false`, a CJK character is output in unigram form when it has no adjacent characters. Defaults to `false`.
          - **type: cjk_width** (`type: cjk_width`)
            - `type` (enum)
              Values: `cjk_width`
            - `version` (string)
          - **type: classic** (`type: classic`)
            - `type` (enum)
              Values: `classic`
            - `version` (string)
          - **type: common_grams** (`type: common_grams`)
            - `type` (enum)
              Values: `common_grams`
            - `version` (string)
            - `common_words` (string[])
              A list of tokens. The filter generates bigrams for these tokens.
Either this or the `common_words_path` parameter is required.
            - `common_words_path` (string)
              Path to a file containing a list of tokens. The filter generates bigrams for these tokens.
This path must be absolute or relative to the `config` location. The file must be UTF-8 encoded. Each token in the file must be separated by a line break.
Either this or the `common_words` parameter is required.
            - `ignore_case` (boolean)
              If `true`, matches for common words matching are case-insensitive. Defaults to `false`.
            - `query_mode` (boolean)
              If `true`, the filter excludes the following tokens from the output:
- Unigrams for common words
- Unigrams for terms followed by common words
Defaults to `false`. We recommend enabling this parameter for search analyzers.
          - **type: condition** (`type: condition`)
            - `type` (enum)
              Values: `condition`
            - `version` (string)
            - `filter` (string[])
              Array of token filters. If a token matches the predicate script in the `script` parameter, these filters are applied to the token in the order provided.
            - `script` (string)
              Predicate script used to apply token filters. If a token matches this script, the filters in the `filter` parameter are applied to the token.
          - **type: czech_stem** (`type: czech_stem`)
            - `type` (enum)
              Values: `czech_stem`
            - `version` (string)
          - **type: decimal_digit** (`type: decimal_digit`)
            - `type` (enum)
              Values: `decimal_digit`
            - `version` (string)
          - **type: delimited_payload** (`type: delimited_payload`)
            - `type` (enum)
              Values: `delimited_payload`
            - `version` (string)
            - `delimiter` (string)
              Character used to separate tokens from payloads. Defaults to `|`.
            - `encoding` (enum)
              Data type for the stored payload.
              Values: `int`, `float`, `identity`
          - **type: dutch_stem** (`type: dutch_stem`)
            - `type` (enum)
              Values: `dutch_stem`
            - `version` (string)
          - **type: edge_ngram** (`type: edge_ngram`)
            - `type` (enum)
              Values: `edge_ngram`
            - `version` (string)
            - `max_gram` (number)
              Maximum character length of a gram. For custom token filters, defaults to `2`. For the built-in edge_ngram filter, defaults to `1`.
            - `min_gram` (number)
              Minimum character length of a gram. Defaults to `1`.
            - `side` (enum)
              Indicates whether to truncate tokens from the `front` or `back`. Defaults to `front`.
              Values: `front`, `back`
            - `preserve_original` (boolean | string)
              Emits original token when set to `true`. Defaults to `false`.
          - **type: elision** (`type: elision`)
            - `type` (enum)
              Values: `elision`
            - `version` (string)
            - `articles` (string[])
              List of elisions to remove.
To be removed, the elision must be at the beginning of a token and be immediately followed by an apostrophe. Both the elision and apostrophe are removed.
For custom `elision` filters, either this parameter or `articles_path` must be specified.
            - `articles_path` (string)
              Path to a file that contains a list of elisions to remove.
This path must be absolute or relative to the `config` location, and the file must be UTF-8 encoded. Each elision in the file must be separated by a line break.
To be removed, the elision must be at the beginning of a token and be immediately followed by an apostrophe. Both the elision and apostrophe are removed.
For custom `elision` filters, either this parameter or `articles` must be specified.
            - `articles_case` (boolean | string)
              If `true`, elision matching is case insensitive. If `false`, elision matching is case sensitive. Defaults to `false`.
          - **type: fingerprint** (`type: fingerprint`)
            - `type` (enum)
              Values: `fingerprint`
            - `version` (string)
            - `max_output_size` (number)
              Maximum character length, including whitespace, of the output token. Defaults to `255`. Concatenated tokens longer than this will result in no token output.
            - `separator` (string)
              Character to use to concatenate the token stream input. Defaults to a space.
          - **type: flatten_graph** (`type: flatten_graph`)
            - `type` (enum)
              Values: `flatten_graph`
            - `version` (string)
          - **type: french_stem** (`type: french_stem`)
            - `type` (enum)
              Values: `french_stem`
            - `version` (string)
          - **type: german_normalization** (`type: german_normalization`)
            - `type` (enum)
              Values: `german_normalization`
            - `version` (string)
          - **type: german_stem** (`type: german_stem`)
            - `type` (enum)
              Values: `german_stem`
            - `version` (string)
          - **type: hindi_normalization** (`type: hindi_normalization`)
            - `type` (enum)
              Values: `hindi_normalization`
            - `version` (string)
          - **type: hunspell** (`type: hunspell`)
            - `type` (enum)
              Values: `hunspell`
            - `version` (string)
            - `dedup` (boolean)
              If `true`, duplicate tokens are removed from the filter’s output. Defaults to `true`.
            - `dictionary` (string)
              One or more `.dic` files (e.g, `en_US.dic`, my_custom.dic) to use for the Hunspell dictionary.
By default, the `hunspell` filter uses all `.dic` files in the `<$ES_PATH_CONF>/hunspell/<locale>` directory specified using the `lang`, `language`, or `locale` parameter.
            - `locale` (string)
              Locale directory used to specify the `.aff` and `.dic` files for a Hunspell dictionary.
            - `longest_only` (boolean)
              If `true`, only the longest stemmed version of each token is included in the output. If `false`, all stemmed versions of the token are included. Defaults to `false`.
          - **type: hyphenation_decompounder** (`type: hyphenation_decompounder`)
            - `type` (enum)
              Values: `hyphenation_decompounder`
            - `version` (string)
            - `max_subword_size` (number)
              Maximum subword character length. Longer subword tokens are excluded from the output. Defaults to `15`.
            - `min_subword_size` (number)
              Minimum subword character length. Shorter subword tokens are excluded from the output. Defaults to `2`.
            - `min_word_size` (number)
              Minimum word character length. Shorter word tokens are excluded from the output. Defaults to `5`.
            - `only_longest_match` (boolean)
              If `true`, only include the longest matching subword. Defaults to `false`.
            - `word_list` (string[])
              A list of subwords to look for in the token stream. If found, the subword is included in the token output.
Either this parameter or `word_list_path` must be specified.
            - `word_list_path` (string)
              Path to a file that contains a list of subwords to find in the token stream. If found, the subword is included in the token output.
This path must be absolute or relative to the config location, and the file must be UTF-8 encoded. Each token in the file must be separated by a line break.
Either this parameter or `word_list` must be specified.
            - `hyphenation_patterns_path` (string)
              Path to an Apache FOP (Formatting Objects Processor) XML hyphenation pattern file.
This path must be absolute or relative to the `config` location. Only FOP v1.2 compatible files are supported.
            - `no_sub_matches` (boolean)
              If `true`, do not match sub tokens in tokens that are in the word list. Defaults to `false`.
            - `no_overlapping_matches` (boolean)
              If `true`, do not allow overlapping tokens. Defaults to `false`.
          - **type: indic_normalization** (`type: indic_normalization`)
            - `type` (enum)
              Values: `indic_normalization`
            - `version` (string)
          - **type: keep_types** (`type: keep_types`)
            - `type` (enum)
              Values: `keep_types`
            - `version` (string)
            - `mode` (enum)
              Indicates whether to keep or remove the specified token types.
              Values: `include`, `exclude`
            - `types` (string[])
              List of token types to keep or remove.
          - **type: keep** (`type: keep`)
            - `type` (enum)
              Values: `keep`
            - `version` (string)
            - `keep_words` (string[])
              List of words to keep. Only tokens that match words in this list are included in the output.
Either this parameter or `keep_words_path` must be specified.
            - `keep_words_case` (boolean)
              If `true`, lowercase all keep words. Defaults to `false`.
            - `keep_words_path` (string)
              Path to a file that contains a list of words to keep. Only tokens that match words in this list are included in the output.
This path must be absolute or relative to the `config` location, and the file must be UTF-8 encoded. Each word in the file must be separated by a line break.
Either this parameter or `keep_words` must be specified.
          - **type: keyword_marker** (`type: keyword_marker`)
            - `type` (enum)
              Values: `keyword_marker`
            - `version` (string)
            - `ignore_case` (boolean)
              If `true`, matching for the `keywords` and `keywords_path` parameters ignores letter case. Defaults to `false`.
            - `keywords` (union string | string[])
              Array of keywords. Tokens that match these keywords are not stemmed.
This parameter, `keywords_path`, or `keywords_pattern` must be specified. You cannot specify this parameter and `keywords_pattern`.
            - `keywords_path` (string)
              Path to a file that contains a list of keywords. Tokens that match these keywords are not stemmed.
This path must be absolute or relative to the `config` location, and the file must be UTF-8 encoded. Each word in the file must be separated by a line break.
This parameter, `keywords`, or `keywords_pattern` must be specified. You cannot specify this parameter and `keywords_pattern`.
            - `keywords_pattern` (string)
              Java regular expression used to match tokens. Tokens that match this expression are marked as keywords and not stemmed.
This parameter, `keywords`, or `keywords_path` must be specified. You cannot specify this parameter and `keywords` or `keywords_pattern`.
          - **type: keyword_repeat** (`type: keyword_repeat`)
            - `type` (enum)
              Values: `keyword_repeat`
            - `version` (string)
          - **type: kstem** (`type: kstem`)
            - `type` (enum)
              Values: `kstem`
            - `version` (string)
          - **type: length** (`type: length`)
            - `type` (enum)
              Values: `length`
            - `version` (string)
            - `max` (number)
              Maximum character length of a token. Longer tokens are excluded from the output. Defaults to `Integer.MAX_VALUE`, which is `2^31-1` or `2147483647`.
            - `min` (number)
              Minimum character length of a token. Shorter tokens are excluded from the output. Defaults to `0`.
          - **type: limit** (`type: limit`)
            - `type` (enum)
              Values: `limit`
            - `version` (string)
            - `consume_all_tokens` (boolean)
              If `true`, the limit filter exhausts the token stream, even if the `max_token_count` has already been reached. Defaults to `false`.
            - `max_token_count` (number | string)
              Maximum number of tokens to keep. Once this limit is reached, any remaining tokens are excluded from the output. Defaults to `1`.
          - **type: lowercase** (`type: lowercase`)
            - `type` (enum)
              Values: `lowercase`
            - `version` (string)
            - `language` (enum)
              Language-specific lowercase token filter to use.
              Values: `greek`, `irish`, `turkish`
          - **type: min_hash** (`type: min_hash`)
            - `type` (enum)
              Values: `min_hash`
            - `version` (string)
            - `bucket_count` (number)
              Number of buckets to which hashes are assigned. Defaults to `512`.
            - `hash_count` (number)
              Number of ways to hash each token in the stream. Defaults to `1`.
            - `hash_set_size` (number)
              Number of hashes to keep from each bucket. Defaults to `1`.
Hashes are retained by ascending size, starting with the bucket’s smallest hash first.
            - `with_rotation` (boolean)
              If `true`, the filter fills empty buckets with the value of the first non-empty bucket to its circular right if the `hash_set_size` is `1`. If the `bucket_count` argument is greater than 1, this parameter defaults to `true`. Otherwise, this parameter defaults to `false`.
          - **type: multiplexer** (`type: multiplexer`)
            - `type` (enum)
              Values: `multiplexer`
            - `version` (string)
            - `filters` (string[])
              A list of token filters to apply to incoming tokens.
            - `preserve_original` (boolean | string)
              If `true` (the default) then emit the original token in addition to the filtered tokens.
          - **type: ngram** (`type: ngram`)
            - `type` (enum)
              Values: `ngram`
            - `version` (string)
            - `max_gram` (number)
              Maximum length of characters in a gram. Defaults to `2`.
            - `min_gram` (number)
              Minimum length of characters in a gram. Defaults to `1`.
            - `preserve_original` (boolean | string)
              Emits original token when set to `true`. Defaults to `false`.
          - **type: nori_part_of_speech** (`type: nori_part_of_speech`)
            - `type` (enum)
              Values: `nori_part_of_speech`
            - `version` (string)
            - `stoptags` (string[])
              An array of part-of-speech tags that should be removed.
          - **type: pattern_capture** (`type: pattern_capture`)
            - `type` (enum)
              Values: `pattern_capture`
            - `version` (string)
            - `patterns` (string[])
              A list of regular expressions to match.
            - `preserve_original` (boolean | string)
              If set to `true` (the default) it will emit the original token.
          - **type: pattern_replace** (`type: pattern_replace`)
            - `type` (enum)
              Values: `pattern_replace`
            - `version` (string)
            - `all` (boolean)
              If `true`, all substrings matching the pattern parameter’s regular expression are replaced. If `false`, the filter replaces only the first matching substring in each token. Defaults to `true`.
            - `flags` (string)
            - `pattern` (string)
              Regular expression, written in Java’s regular expression syntax. The filter replaces token substrings matching this pattern with the substring in the `replacement` parameter.
            - `replacement` (string)
              Replacement substring. Defaults to an empty substring (`""`).
          - **type: persian_normalization** (`type: persian_normalization`)
            - `type` (enum)
              Values: `persian_normalization`
            - `version` (string)
          - **type: persian_stem** (`type: persian_stem`)
            - `type` (enum)
              Values: `persian_stem`
            - `version` (string)
          - **type: porter_stem** (`type: porter_stem`)
            - `type` (enum)
              Values: `porter_stem`
            - `version` (string)
          - **type: predicate_token_filter** (`type: predicate_token_filter`)
            - `type` (enum)
              Values: `predicate_token_filter`
            - `version` (string)
            - `script` (string)
              Script containing a condition used to filter incoming tokens. Only tokens that match this script are included in the output.
          - **type: remove_duplicates** (`type: remove_duplicates`)
            - `type` (enum)
              Values: `remove_duplicates`
            - `version` (string)
          - **type: reverse** (`type: reverse`)
            - `type` (enum)
              Values: `reverse`
            - `version` (string)
          - **type: russian_stem** (`type: russian_stem`)
            - `type` (enum)
              Values: `russian_stem`
            - `version` (string)
          - **type: scandinavian_folding** (`type: scandinavian_folding`)
            - `type` (enum)
              Values: `scandinavian_folding`
            - `version` (string)
          - **type: scandinavian_normalization** (`type: scandinavian_normalization`)
            - `type` (enum)
              Values: `scandinavian_normalization`
            - `version` (string)
          - **type: serbian_normalization** (`type: serbian_normalization`)
            - `type` (enum)
              Values: `serbian_normalization`
            - `version` (string)
          - **type: shingle** (`type: shingle`)
            - `type` (enum)
              Values: `shingle`
            - `version` (string)
            - `filler_token` (string)
              String used in shingles as a replacement for empty positions that do not contain a token. This filler token is only used in shingles, not original unigrams. Defaults to an underscore (`_`).
            - `max_shingle_size` (number | string)
              Maximum number of tokens to concatenate when creating shingles. Defaults to `2`.
            - `min_shingle_size` (number | string)
              Minimum number of tokens to concatenate when creating shingles. Defaults to `2`.
            - `output_unigrams` (boolean)
              If `true`, the output includes the original input tokens. If `false`, the output only includes shingles; the original input tokens are removed. Defaults to `true`.
            - `output_unigrams_if_no_shingles` (boolean)
              If `true`, the output includes the original input tokens only if no shingles are produced; if shingles are produced, the output only includes shingles. Defaults to `false`.
            - `token_separator` (string)
              Separator used to concatenate adjacent tokens to form a shingle. Defaults to a space (`" "`).
          - **type: snowball** (`type: snowball`)
            - `type` (enum)
              Values: `snowball`
            - `version` (string)
            - `language` (enum)
              Controls the language used by the stemmer.
              Values: `Arabic`, `Armenian`, `Basque`, `Catalan`, `Danish`, `Dutch`, `English`, `Estonian`, `Finnish`, `French`, `German`, `German2`, `Hungarian`, `Italian`, `Irish`, `Kp`, `Lithuanian`, `Lovins`, `Norwegian`, `Porter`, `Portuguese`, `Romanian`, `Russian`, `Serbian`, `Spanish`, `Swedish`, `Turkish`
          - **type: sorani_normalization** (`type: sorani_normalization`)
            - `type` (enum)
              Values: `sorani_normalization`
            - `version` (string)
          - **type: stemmer_override** (`type: stemmer_override`)
            - `type` (enum)
              Values: `stemmer_override`
            - `version` (string)
            - `rules` (string[])
              A list of mapping rules to use.
            - `rules_path` (string)
              A path (either relative to `config` location, or absolute) to a list of mappings.
          - **type: stemmer** (`type: stemmer`)
            - `type` (enum)
              Values: `stemmer`
            - `version` (string)
            - `language` (string)
          - **type: stop** (`type: stop`)
            - `type` (enum)
              Values: `stop`
            - `version` (string)
            - `ignore_case` (boolean)
              If `true`, stop word matching is case insensitive. For example, if `true`, a stop word of the matches and removes `The`, `THE`, or `the`. Defaults to `false`.
            - `remove_trailing` (boolean)
              If `true`, the last token of a stream is removed if it’s a stop word. Defaults to `true`.
            - `stopwords` (union oneOf)
              Language value, such as `_arabic_` or `_thai_`. Defaults to `_english_`.
              Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
            - `stopwords_path` (string)
              Path to a file that contains a list of stop words to remove.
This path must be absolute or relative to the `config` location, and the file must be UTF-8 encoded. Each stop word in the file must be separated by a line break.
          - **type: synonym_graph** (`type: synonym_graph`)
            - `type` (enum)
              Values: `synonym_graph`
            - `version` (string)
            - `expand` (boolean)
              Expands definitions for equivalent synonym rules. Defaults to `true`.
            - `format` (enum)
              Sets the synonym rules format.
              Values: `solr`, `wordnet`
            - `lenient` (boolean)
              If `true` ignores errors while parsing the synonym rules. It is important to note that only those synonym rules which cannot get parsed are ignored. Defaults to the value of the `updateable` setting.
            - `synonyms` (string[])
              Used to define inline synonyms.
            - `synonyms_path` (string)
              Used to provide a synonym file. This path must be absolute or relative to the `config` location.
            - `synonyms_set` (union string | string[])
              Provide one or more synonym sets created through the Synonyms Management APIs. Maximum 100 sets per filter.
            - `tokenizer` (string) — deprecated
              Controls the tokenizers that will be used to tokenize the synonym, this parameter is for backwards compatibility for indices that created before 6.0.
            - `updateable` (boolean)
              If `true` allows reloading search analyzers to pick up changes to synonym files. Only to be used for search analyzers. Defaults to `false`.
          - **type: synonym** (`type: synonym`)
            - `type` (enum)
              Values: `synonym`
            - `version` (string)
            - `expand` (boolean)
              Expands definitions for equivalent synonym rules. Defaults to `true`.
            - `format` (enum)
              Sets the synonym rules format.
              Values: `solr`, `wordnet`
            - `lenient` (boolean)
              If `true` ignores errors while parsing the synonym rules. It is important to note that only those synonym rules which cannot get parsed are ignored. Defaults to the value of the `updateable` setting.
            - `synonyms` (string[])
              Used to define inline synonyms.
            - `synonyms_path` (string)
              Used to provide a synonym file. This path must be absolute or relative to the `config` location.
            - `synonyms_set` (union string | string[])
              Provide one or more synonym sets created through the Synonyms Management APIs. Maximum 100 sets per filter.
            - `tokenizer` (string) — deprecated
              Controls the tokenizers that will be used to tokenize the synonym, this parameter is for backwards compatibility for indices that created before 6.0.
            - `updateable` (boolean)
              If `true` allows reloading search analyzers to pick up changes to synonym files. Only to be used for search analyzers. Defaults to `false`.
          - **type: trim** (`type: trim`)
            - `type` (enum)
              Values: `trim`
            - `version` (string)
          - **type: truncate** (`type: truncate`)
            - `type` (enum)
              Values: `truncate`
            - `version` (string)
            - `length` (number)
              Character limit for each token. Tokens exceeding this limit are truncated. Defaults to `10`.
          - **type: unique** (`type: unique`)
            - `type` (enum)
              Values: `unique`
            - `version` (string)
            - `only_on_same_position` (boolean)
              If `true`, only remove duplicate tokens in the same position. Defaults to `false`.
          - **type: uppercase** (`type: uppercase`)
            - `type` (enum)
              Values: `uppercase`
            - `version` (string)
          - **type: word_delimiter_graph** (`type: word_delimiter_graph`)
            - `type` (enum)
              Values: `word_delimiter_graph`
            - `version` (string)
            - `catenate_all` (boolean)
              If `true`, the filter produces catenated tokens for chains of alphanumeric characters separated by non-alphabetic delimiters. Defaults to `false`.
            - `catenate_numbers` (boolean)
              If `true`, the filter produces catenated tokens for chains of numeric characters separated by non-alphabetic delimiters. Defaults to `false`.
            - `catenate_words` (boolean)
              If `true`, the filter produces catenated tokens for chains of alphabetical characters separated by non-alphabetic delimiters. Defaults to `false`.
            - `generate_number_parts` (boolean)
              If `true`, the filter includes tokens consisting of only numeric characters in the output. If `false`, the filter excludes these tokens from the output. Defaults to `true`.
            - `generate_word_parts` (boolean)
              If `true`, the filter includes tokens consisting of only alphabetical characters in the output. If `false`, the filter excludes these tokens from the output. Defaults to `true`.
            - `preserve_original` (boolean | string)
              If `true`, the filter includes the original version of any split tokens in the output. This original version includes non-alphanumeric delimiters. Defaults to `false`.
            - `protected_words` (string[])
              Array of tokens the filter won’t split.
            - `protected_words_path` (string)
              Path to a file that contains a list of tokens the filter won’t split.
This path must be absolute or relative to the `config` location, and the file must be UTF-8 encoded. Each token in the file must be separated by a line break.
            - `split_on_case_change` (boolean)
              If `true`, the filter splits tokens at letter case transitions. For example: camelCase -> [ camel, Case ]. Defaults to `true`.
            - `split_on_numerics` (boolean)
              If `true`, the filter splits tokens at letter-number transitions. For example: j2se -> [ j, 2, se ]. Defaults to `true`.
            - `stem_english_possessive` (boolean)
              If `true`, the filter removes the English possessive (`'s`) from the end of each token. For example: O'Neil's -> [ O, Neil ]. Defaults to `true`.
            - `type_table` (string[])
              Array of custom type mappings for characters. This allows you to map non-alphanumeric characters as numeric or alphanumeric to avoid splitting on those characters.
            - `type_table_path` (string)
              Path to a file that contains custom type mappings for characters. This allows you to map non-alphanumeric characters as numeric or alphanumeric to avoid splitting on those characters.
            - `adjust_offsets` (boolean)
              If `true`, the filter adjusts the offsets of split or catenated tokens to better reflect their actual position in the token stream. Defaults to `true`.
            - `ignore_keywords` (boolean)
              If `true`, the filter skips tokens with a keyword attribute of true. Defaults to `false`.
          - **type: word_delimiter** (`type: word_delimiter`)
            - `type` (enum)
              Values: `word_delimiter`
            - `version` (string)
            - `catenate_all` (boolean)
              If `true`, the filter produces catenated tokens for chains of alphanumeric characters separated by non-alphabetic delimiters. Defaults to `false`.
            - `catenate_numbers` (boolean)
              If `true`, the filter produces catenated tokens for chains of numeric characters separated by non-alphabetic delimiters. Defaults to `false`.
            - `catenate_words` (boolean)
              If `true`, the filter produces catenated tokens for chains of alphabetical characters separated by non-alphabetic delimiters. Defaults to `false`.
            - `generate_number_parts` (boolean)
              If `true`, the filter includes tokens consisting of only numeric characters in the output. If `false`, the filter excludes these tokens from the output. Defaults to `true`.
            - `generate_word_parts` (boolean)
              If `true`, the filter includes tokens consisting of only alphabetical characters in the output. If `false`, the filter excludes these tokens from the output. Defaults to `true`.
            - `preserve_original` (boolean | string)
              If `true`, the filter includes the original version of any split tokens in the output. This original version includes non-alphanumeric delimiters. Defaults to `false`.
            - `protected_words` (string[])
              Array of tokens the filter won’t split.
            - `protected_words_path` (string)
              Path to a file that contains a list of tokens the filter won’t split.
This path must be absolute or relative to the `config` location, and the file must be UTF-8 encoded. Each token in the file must be separated by a line break.
            - `split_on_case_change` (boolean)
              If `true`, the filter splits tokens at letter case transitions. For example: camelCase -> [ camel, Case ]. Defaults to `true`.
            - `split_on_numerics` (boolean)
              If `true`, the filter splits tokens at letter-number transitions. For example: j2se -> [ j, 2, se ]. Defaults to `true`.
            - `stem_english_possessive` (boolean)
              If `true`, the filter removes the English possessive (`'s`) from the end of each token. For example: O'Neil's -> [ O, Neil ]. Defaults to `true`.
            - `type_table` (string[])
              Array of custom type mappings for characters. This allows you to map non-alphanumeric characters as numeric or alphanumeric to avoid splitting on those characters.
            - `type_table_path` (string)
              Path to a file that contains custom type mappings for characters. This allows you to map non-alphanumeric characters as numeric or alphanumeric to avoid splitting on those characters.
          - **type: ja_stop** (`type: ja_stop`)
            - `type` (enum)
              Values: `ja_stop`
            - `version` (string)
            - `stopwords` (union oneOf)
              Values: `_arabic_`, `_armenian_`, `_basque_`, `_bengali_`, `_brazilian_`, `_bulgarian_`, `_catalan_`, `_cjk_`, `_czech_`, `_danish_`, `_dutch_`, `_english_`, `_estonian_`, `_finnish_`, `_french_`, `_galician_`, `_german_`, `_greek_`, `_hindi_`, `_hungarian_`, `_indonesian_`, `_irish_`, `_italian_`, `_latvian_`, `_lithuanian_`, `_norwegian_`, `_persian_`, `_portuguese_`, `_romanian_`, `_russian_`, `_serbian_`, `_sorani_`, `_spanish_`, `_swedish_`, `_thai_`, `_turkish_`, `_none_`
          - **type: kuromoji_stemmer** (`type: kuromoji_stemmer`)
            - `type` (enum)
              Values: `kuromoji_stemmer`
            - `version` (string)
            - `minimum_length` (number)
          - **type: kuromoji_readingform** (`type: kuromoji_readingform`)
            - `type` (enum)
              Values: `kuromoji_readingform`
            - `version` (string)
            - `use_romaji` (boolean)
          - **type: kuromoji_part_of_speech** (`type: kuromoji_part_of_speech`)
            - `type` (enum)
              Values: `kuromoji_part_of_speech`
            - `version` (string)
            - `stoptags` (string[])
          - **type: icu_collation** (`type: icu_collation`)
            - `type` (enum)
              Values: `icu_collation`
            - `version` (string)
            - `alternate` (enum)
              Values: `shifted`, `non-ignorable`
            - `caseFirst` (enum)
              Values: `lower`, `upper`
            - `caseLevel` (boolean)
            - `country` (string)
            - `decomposition` (enum)
              Values: `no`, `identical`
            - `hiraganaQuaternaryMode` (boolean)
            - `language` (string)
            - `numeric` (boolean)
            - `rules` (string)
            - `strength` (enum)
              Values: `primary`, `secondary`, `tertiary`, `quaternary`, `identical`
            - `variableTop` (string)
            - `variant` (string)
          - **type: icu_folding** (`type: icu_folding`)
            - `type` (enum)
              Values: `icu_folding`
            - `version` (string)
            - `unicode_set_filter` (string)
          - **type: icu_normalizer** (`type: icu_normalizer`)
            - `type` (enum)
              Values: `icu_normalizer`
            - `version` (string)
            - `name` (enum)
              Values: `nfc`, `nfkc`, `nfkc_cf`
          - **type: icu_transform** (`type: icu_transform`)
            - `type` (enum)
              Values: `icu_transform`
            - `version` (string)
            - `dir` (enum)
              Values: `forward`, `reverse`
            - `id` (string)
          - **type: phonetic** (`type: phonetic`)
            - `type` (enum)
              Values: `phonetic`
            - `version` (string)
            - `encoder` (enum)
              Values: `metaphone`, `double_metaphone`, `soundex`, `refined_soundex`, `caverphone1`, `caverphone2`, `cologne`, `nysiis`, `koelnerphonetik`, `haasephonetik`, `beider_morse`, `daitch_mokotoff`
            - `languageset` (union enum | enum[])
              

Supported values include: `any`, `common`, `cyrillic`, `english`, `french`, `german`, `hebrew`, `hungarian`, `polish`, `romanian`, `russian`, `spanish`
              Values: `any`, `common`, `cyrillic`, `english`, `french`, `german`, `hebrew`, `hungarian`, `polish`, `romanian`, `russian`, `spanish`
            - `max_code_len` (number)
            - `name_type` (enum)
              Values: `generic`, `ashkenazi`, `sephardic`
            - `replace` (boolean)
            - `rule_type` (enum)
              Values: `approx`, `exact`
          - **type: dictionary_decompounder** (`type: dictionary_decompounder`)
            - `type` (enum)
              Values: `dictionary_decompounder`
            - `version` (string)
            - `max_subword_size` (number)
              Maximum subword character length. Longer subword tokens are excluded from the output. Defaults to `15`.
            - `min_subword_size` (number)
              Minimum subword character length. Shorter subword tokens are excluded from the output. Defaults to `2`.
            - `min_word_size` (number)
              Minimum word character length. Shorter word tokens are excluded from the output. Defaults to `5`.
            - `only_longest_match` (boolean)
              If `true`, only include the longest matching subword. Defaults to `false`.
            - `word_list` (string[])
              A list of subwords to look for in the token stream. If found, the subword is included in the token output.
Either this parameter or `word_list_path` must be specified.
            - `word_list_path` (string)
              Path to a file that contains a list of subwords to find in the token stream. If found, the subword is included in the token output.
This path must be absolute or relative to the config location, and the file must be UTF-8 encoded. Each token in the file must be separated by a line break.
Either this parameter or `word_list` must be specified.
      - `normalizer` (map string to oneOf)
        Map values (union oneOf)
        One of:
        - **type: lowercase** (`type: lowercase`)
          - `type` (enum)
            Values: `lowercase`
        - **type: custom** (`type: custom`)
          - `type` (enum)
            Values: `custom`
          - `char_filter` (string[])
          - `filter` (string[])
      - `tokenizer` (map string to oneOf)
        Map values (union oneOf)
        One of:
        - **string**
        - **TokenizerDefinition**
          One of:
          - **type: char_group** (`type: char_group`)
            - `type` (enum)
              Values: `char_group`
            - `version` (string)
            - `tokenize_on_chars` (string[])
            - `max_token_length` (number)
          - **type: classic** (`type: classic`)
            - `type` (enum)
              Values: `classic`
            - `version` (string)
            - `max_token_length` (number)
          - **type: edge_ngram** (`type: edge_ngram`)
            - `type` (enum)
              Values: `edge_ngram`
            - `version` (string)
            - `custom_token_chars` (string)
            - `max_gram` (number)
            - `min_gram` (number)
            - `token_chars` (enum[] · default: [])
              Values: `letter`, `digit`, `whitespace`, `punctuation`, `symbol`, `custom`
          - **type: keyword** (`type: keyword`)
            - `type` (enum)
              Values: `keyword`
            - `version` (string)
            - `buffer_size` (number · default: 256)
          - **type: letter** (`type: letter`)
            - `type` (enum)
              Values: `letter`
            - `version` (string)
          - **type: lowercase** (`type: lowercase`)
            - `type` (enum)
              Values: `lowercase`
            - `version` (string)
          - **type: ngram** (`type: ngram`)
            - `type` (enum)
              Values: `ngram`
            - `version` (string)
            - `custom_token_chars` (string)
            - `max_gram` (number)
            - `min_gram` (number)
            - `token_chars` (enum[] · default: [])
              Values: `letter`, `digit`, `whitespace`, `punctuation`, `symbol`, `custom`
          - **type: path_hierarchy** (`type: path_hierarchy`)
            - `type` (enum)
              Values: `path_hierarchy`
            - `version` (string)
            - `buffer_size` (number | string)
            - `delimiter` (string)
            - `replacement` (string)
            - `reverse` (boolean | string)
            - `skip` (number | string)
          - **type: pattern** (`type: pattern`)
            - `type` (enum)
              Values: `pattern`
            - `version` (string)
            - `flags` (string)
            - `group` (number)
            - `pattern` (string)
          - **type: simple_pattern** (`type: simple_pattern`)
            - `type` (enum)
              Values: `simple_pattern`
            - `version` (string)
            - `pattern` (string)
          - **type: simple_pattern_split** (`type: simple_pattern_split`)
            - `type` (enum)
              Values: `simple_pattern_split`
            - `version` (string)
            - `pattern` (string)
          - **type: standard** (`type: standard`)
            - `type` (enum)
              Values: `standard`
            - `version` (string)
            - `max_token_length` (number)
          - **type: thai** (`type: thai`)
            - `type` (enum)
              Values: `thai`
            - `version` (string)
          - **type: uax_url_email** (`type: uax_url_email`)
            - `type` (enum)
              Values: `uax_url_email`
            - `version` (string)
            - `max_token_length` (number)
          - **type: whitespace** (`type: whitespace`)
            - `type` (enum)
              Values: `whitespace`
            - `version` (string)
            - `max_token_length` (number)
          - **type: icu_tokenizer** (`type: icu_tokenizer`)
            - `type` (enum)
              Values: `icu_tokenizer`
            - `version` (string)
            - `rule_files` (string)
          - **type: kuromoji_tokenizer** (`type: kuromoji_tokenizer`)
            - `type` (enum)
              Values: `kuromoji_tokenizer`
            - `version` (string)
            - `discard_punctuation` (boolean)
            - `mode` (enum)
              Values: `normal`, `search`, `extended`
            - `nbest_cost` (number)
            - `nbest_examples` (string)
            - `user_dictionary` (string)
            - `user_dictionary_rules` (string[])
            - `discard_compound_token` (boolean)
          - **type: nori_tokenizer** (`type: nori_tokenizer`)
            - `type` (enum)
              Values: `nori_tokenizer`
            - `version` (string)
            - `decompound_mode` (enum)
              Values: `discard`, `none`, `mixed`
            - `discard_punctuation` (boolean)
            - `user_dictionary` (string)
            - `user_dictionary_rules` (string[])
    - `settings` (object) — recursive
      Same fields as `settings` in `generated_dest_index`
    - `time_series` (object)
      - `end_time` (union oneOf)
        One of: `string` or `number`
      - `start_time` (union oneOf)
        One of: `string` or `number`
      - `temporality_field` (string)
        The name of the field that stores the temporality of a metric.
The referenced field must be a `keyword` dimension field; if the setting is unset or the
field is missing or invalid, the metric temporality resolves to null.
    - `queries` (object)
      - `cache` (object)
        - `enabled` (boolean)
    - `requests` (object)
      - `cache` (object)
        - `enable` (boolean | string · default: true)
          Whether the shard request cache is enabled for the index.
This setting is dynamic and can be updated on an existing index.
    - `similarity` (map string to oneOf)
      Configure custom similarity settings to customize how search results are scored.
      Map values (union oneOf)
      One of:
      - **type: BM25** (`type: BM25`)
        - `type` (enum)
          Values: `BM25`
        - `b` (number)
        - `discount_overlaps` (boolean)
        - `k1` (number)
      - **type: boolean** (`type: boolean`)
        - `type` (enum)
          Values: `boolean`
      - **type: DFI** (`type: DFI`)
        - `type` (enum)
          Values: `DFI`
        - `independence_measure` (enum)
          Values: `standardized`, `saturated`, `chisquared`
      - **type: DFR** (`type: DFR`)
        - `type` (enum)
          Values: `DFR`
        - `after_effect` (enum)
          Values: `no`, `b`, `l`
        - `basic_model` (enum)
          Values: `be`, `d`, `g`, `if`, `in`, `ine`, `p`
        - `normalization` (enum)
          Values: `no`, `h1`, `h2`, `h3`, `z`
      - **type: IB** (`type: IB`)
        - `type` (enum)
          Values: `IB`
        - `distribution` (enum)
          Values: `ll`, `spl`
        - `lambda` (enum)
          Values: `df`, `ttf`
        - `normalization` (enum)
          Values: `no`, `h1`, `h2`, `h3`, `z`
      - **type: LMDirichlet** (`type: LMDirichlet`)
        - `type` (enum)
          Values: `LMDirichlet`
        - `mu` (number)
      - **type: LMJelinekMercer** (`type: LMJelinekMercer`)
        - `type` (enum)
          Values: `LMJelinekMercer`
        - `lambda` (number)
      - **type: scripted** (`type: scripted`)
        - `type` (enum)
          Values: `scripted`
        - `script` (string)
        - `weight_script` (string)
    - `mapping` (object)
      Enable or disable dynamic mapping for an index.
      - `coerce` (boolean)
      - `total_fields` (object)
        - `limit` (number | string · default: 1000)
          The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.
The limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance
degradations and memory issues, especially in clusters with a high load or few resources.
        - `ignore_dynamic_beyond_limit` (boolean | string · default: false)
          This setting determines what happens when a dynamically mapped field would exceed the total fields limit. When set
to false (the default), the index request of the document that tries to add a dynamic field to the mapping will fail
with the message Limit of total fields [X] has been exceeded. When set to true, the index request will not fail.
Instead, fields that would exceed the limit are not added to the mapping, similar to dynamic: false.
The fields that were not added to the mapping will be added to the _ignored field.
      - `depth` (object)
        - `limit` (number · default: 20)
          The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined
at the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.
      - `nested_fields` (object)
        - `limit` (number · default: 50)
          The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when
arrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this
setting limits the number of unique nested types per index.
      - `nested_objects` (object)
        - `limit` (number · default: 10000)
          The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps
to prevent out of memory errors when a document contains too many nested objects.
      - `field_name_length` (object)
        - `limit` (number)
          Setting for the maximum length of a field name. This setting isn’t really something that addresses mappings explosion but
might still be useful if you want to limit the field length. It usually shouldn’t be necessary to set this setting. The
default is okay unless a user starts to add a huge number of fields with really long names. Default is `Long.MAX_VALUE` (no limit).
      - `dimension_fields` (object)
        - `limit` (number)
          [preview] This functionality is in technical preview and may be changed or removed in a future release.
Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
      - `source` (object)
        - `mode` (enum)
          Values: `disabled`, `stored`, `synthetic`
      - `ignore_malformed` (boolean | string)
    - `indexing.slowlog` (object)
      - `level` (string)
      - `source` (number)
      - `reformat` (boolean)
      - `threshold` (object)
        - `index` (object)
          The indexing slow log, similar in functionality to the search slow log. The log file name ends with `_index_indexing_slowlog.json`.
Log and the thresholds are configured in the same way as the search slowlog.
          - `warn` (union oneOf)
            Values: `-1`, `0`
          - `info` (union oneOf)
            Values: `-1`, `0`
          - `debug` (union oneOf)
            Values: `-1`, `0`
          - `trace` (union oneOf)
            Values: `-1`, `0`
    - `indexing_pressure` (object)
      Configure indexing back pressure limits.
      - `memory` (object)
        - `limit` (number)
          Number of outstanding bytes that may be consumed by indexing requests. When this limit is reached or exceeded,
the node will reject new coordinating and primary operations. When replica operations consume 1.5x this limit,
the node will reject new replica operations. Defaults to 10% of the heap.
    - `store` (object)
      The store module allows you to control how index data is stored and accessed on disk.
      - `type` (union anyOf)
        

Supported values include:
  - `fs`: Default file system implementation. This will pick the best implementation depending on the operating environment, which
is currently hybridfs on all supported systems but is subject to change.
  - `niofs`: The NIO FS type stores the shard index on the file system (maps to Lucene NIOFSDirectory) using NIO. It allows multiple
threads to read from the same file concurrently. It is not recommended on Windows because of a bug in the SUN Java
implementation and disables some optimizations for heap memory usage.
  - `mmapfs`: The MMap FS type stores the shard index on the file system (maps to Lucene MMapDirectory) by mapping a file into
memory (mmap). Memory mapping uses up a portion of the virtual memory address space in your process equal to the size
of the file being mapped. Before using this class, be sure you have allowed plenty of virtual address space.
  - `hybridfs`: The hybridfs type is a hybrid of niofs and mmapfs, which chooses the best file system type for each type of file
based on the read access pattern. Currently only the Lucene term dictionary, norms and doc values files are memory
mapped. All other files are opened using Lucene NIOFSDirectory. Similarly to mmapfs be sure you have allowed
plenty of virtual address space.
        Values: `fs`, `niofs`, `mmapfs`, `hybridfs`
      - `allow_mmap` (boolean)
        You can restrict the use of the mmapfs and the related hybridfs store type via the setting node.store.allow_mmap.
This is a boolean setting indicating whether or not memory-mapping is allowed. The default is to allow it. This
setting is useful, for example, if you are in an environment where you can not control the ability to create a lot
of memory maps so you need disable the ability to use memory-mapping.
      - `stats_refresh_interval` (union oneOf)
        How often store statistics are refreshed
        Values: `-1`, `0`
  - `defaults` (object)
    Default settings, included when the request's `include_default` is `true`.
    Same fields as `settings` in `generated_dest_index`
  - `data_stream` (string)
  - `lifecycle` (object)
    Data stream lifecycle applicable if this is a data stream.
    - `data_retention` (union oneOf)
      If defined, every document added to this data stream will be stored at least for this time frame.
Any time after this duration the document could be deleted.
When empty, every document in this data stream will be stored indefinitely.
      Values: `-1`, `0`
    - `effective_retention` (union oneOf)
      The least amount of time data should be kept by elasticsearch.
      Values: `-1`, `0`
    - `retention_determined_by` (enum)
      Configuration source that can influence the retention of a data stream.
      Values: `data_stream_configuration`, `default_global_retention`, `max_global_retention`, `default_failures_retention`
    - `downsampling` (object[])
      The list of downsampling rounds to execute as part of this downsampling configuration
      - `after` (union oneOf)
        The duration since rollover when this downsampling round should execute
        Values: `-1`, `0`
      - `fixed_interval` (string)
        The downsample interval.
    - `downsampling_method` (enum)
      The method used to downsample the data. There are two options `aggregate` and `last_value`. It requires
`downsampling` to be defined. Defaults to `aggregate`.
      Values: `aggregate`, `last_value`
    - `enabled` (boolean · default: true)
      If defined, it turns data stream lifecycle on/off (`true`/`false`) for this data stream. A data stream lifecycle
that's disabled (enabled: `false`) will have no effect on the data stream.
- `preview` (object[])
## Code examples

#### Console

```console
POST _transform/_preview
{
  "source": {
    "index": "kibana_sample_data_ecommerce"
  },
  "pivot": {
    "group_by": {
      "customer_id": {
        "terms": {
          "field": "customer_id",
          "missing_bucket": true
        }
      }
    },
    "aggregations": {
      "max_price": {
        "max": {
          "field": "taxful_total_price"
        }
      }
    }
  }
}
```

#### JavaScript

```javascript
const response = await client.transform.previewTransform({
  source: {
    index: "kibana_sample_data_ecommerce",
  },
  pivot: {
    group_by: {
      customer_id: {
        terms: {
          field: "customer_id",
          missing_bucket: true,
        },
      },
    },
    aggregations: {
      max_price: {
        max: {
          field: "taxful_total_price",
        },
      },
    },
  },
});
```

#### Python

```python
resp = client.transform.preview_transform(
    source={
        "index": "kibana_sample_data_ecommerce"
    },
    pivot={
        "group_by": {
            "customer_id": {
                "terms": {
                    "field": "customer_id",
                    "missing_bucket": True
                }
            }
        },
        "aggregations": {
            "max_price": {
                "max": {
                    "field": "taxful_total_price"
                }
            }
        }
    },
)
```

#### curl

```curl
curl -X POST "$ELASTICSEARCH_URL/_transform/_preview" \
  -H "Authorization: ApiKey $ELASTIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "source": {
      "index": "kibana_sample_data_ecommerce"
    },
    "pivot": {
      "group_by": {
        "customer_id": {
          "terms": {
            "field": "customer_id",
            "missing_bucket": true
          }
        }
      },
      "aggregations": {
        "max_price": {
          "max": {
            "field": "taxful_total_price"
          }
        }
      }
    }
  }'
```

#### Java

```java
client.transform().previewTransform(p -> p
    .pivot(pi -> pi
        .aggregations("max_price", a -> a
            .max(m -> m
                .field("taxful_total_price")
            )
        )
        .groupBy("customer_id", g -> g
            .terms(t -> t
                .field("customer_id")
                .missingBucket(true)
            )
        )
    )
    .source(s -> s
        .index("kibana_sample_data_ecommerce")
    )
);
```

#### C#

```c#
var response = await client.TransformManagement
    .PreviewTransformAsync<MyDocument, MyDocument>(d1 => d1
        .Pivot(d2 => d2
            .Aggregations(d3 => d3
                .Add("max_price", d4 => d4
                    .Max(d5 => d5
                        .Field(x => x.TaxfulTotalPrice)
                    )
                )
            )
            .GroupBy(d3 => d3
                .Add("customer_id", d4 => d4
                    .Terms(d5 => d5
                        .Field(x => x.CustomerId)
                        .MissingBucket(true)
                    )
                )
            )
        )
        .Source(d2 => d2
            .Indices(new[] { "kibana_sample_data_ecommerce" })
        )
    );
```

#### PHP

```php
$resp = $client->transform()->previewTransform([
    "body" => [
        "source" => [
            "index" => "kibana_sample_data_ecommerce",
        ],
        "pivot" => [
            "group_by" => [
                "customer_id" => [
                    "terms" => [
                        "field" => "customer_id",
                        "missing_bucket" => true,
                    ],
                ],
            ],
            "aggregations" => [
                "max_price" => [
                    "max" => [
                        "field" => "taxful_total_price",
                    ],
                ],
            ],
        ],
    ],
]);
```

#### Ruby

```ruby
response = client.transform.preview_transform(
  body: {
    "source": {
      "index": "kibana_sample_data_ecommerce"
    },
    "pivot": {
      "group_by": {
        "customer_id": {
          "terms": {
            "field": "customer_id",
            "missing_bucket": true
          }
        }
      },
      "aggregations": {
        "max_price": {
          "max": {
            "field": "taxful_total_price"
          }
        }
      }
    }
  }
)
```

## Response examples

#### Preview transform response example1

`application/json`

An abbreviated response from `POST _transform/_preview` that contains a preview a transform that uses the pivot method.

```json
{
  "preview": [
    {
      "max_price": 171,
      "customer_id": "10"
    },
    {
      "max_price": 233,
      "customer_id": "11"
    },
    {
      "max_price": 200,
      "customer_id": "12"
    },
    {
      "max_price": 301,
      "customer_id": "13"
    },
    {
      "max_price": 176,
      "customer_id": "14"
    },
    {
      "max_price": 2250,
      "customer_id": "15"
    },
    {
      "max_price": 170,
      "customer_id": "16"
    },
    {
      "max_price": 243,
      "customer_id": "17"
    },
    {
      "max_price": 154,
      "customer_id": "18"
    },
    {
      "max_price": 393,
      "customer_id": "19"
    },
    {
      "max_price": 165,
      "customer_id": "20"
    },
    {
      "max_price": 115,
      "customer_id": "21"
    },
    {
      "max_price": 192,
      "customer_id": "22"
    },
    {
      "max_price": 169,
      "customer_id": "23"
    },
    {
      "max_price": 230,
      "customer_id": "24"
    },
    {
      "max_price": 278,
      "customer_id": "25"
    },
    {
      "max_price": 200,
      "customer_id": "26"
    },
    {
      "max_price": 344,
      "customer_id": "27"
    },
    {
      "max_price": 175,
      "customer_id": "28"
    },
    {
      "max_price": 177,
      "customer_id": "29"
    },
    {
      "max_price": 190,
      "customer_id": "30"
    },
    {
      "max_price": 190,
      "customer_id": "31"
    },
    {
      "max_price": 205,
      "customer_id": "32"
    },
    {
      "max_price": 215,
      "customer_id": "33"
    },
    {
      "max_price": 270,
      "customer_id": "34"
    },
    {
      "max_price": 184,
      "customer_id": "36"
    },
    {
      "max_price": 222,
      "customer_id": "37"
    },
    {
      "max_price": 370,
      "customer_id": "38"
    },
    {
      "max_price": 240,
      "customer_id": "39"
    },
    {
      "max_price": 230,
      "customer_id": "4"
    },
    {
      "max_price": 229,
      "customer_id": "41"
    },
    {
      "max_price": 190,
      "customer_id": "42"
    },
    {
      "max_price": 150,
      "customer_id": "43"
    },
    {
      "max_price": 175,
      "customer_id": "44"
    },
    {
      "max_price": 190,
      "customer_id": "45"
    },
    {
      "max_price": 150,
      "customer_id": "46"
    },
    {
      "max_price": 310,
      "customer_id": "48"
    },
    {
      "max_price": 223,
      "customer_id": "49"
    },
    {
      "max_price": 283,
      "customer_id": "5"
    },
    {
      "max_price": 185,
      "customer_id": "50"
    },
    {
      "max_price": 190,
      "customer_id": "51"
    },
    {
      "max_price": 333,
      "customer_id": "52"
    },
    {
      "max_price": 165,
      "customer_id": "6"
    },
    {
      "max_price": 144,
      "customer_id": "7"
    },
    {
      "max_price": 198,
      "customer_id": "8"
    },
    {
      "max_price": 210,
      "customer_id": "9"
    }
  ],
  "generated_dest_index": {
    "mappings": {
      "_meta": {
        "_transform": {
          "transform": "transform-preview",
          "version": {
            "created": "10.0.0"
          },
          "creation_date_in_millis": 1712948905889
        },
        "created_by": "transform"
      },
      "properties": {
        "max_price": {
          "type": "half_float"
        },
        "customer_id": {
          "type": "keyword"
        }
      }
    },
    "settings": {
      "index": {
        "number_of_shards": "1",
        "auto_expand_replicas": "0-1"
      }
    },
    "aliases": {}
  }
}
```

