elastic / elasticsearch-specification

Elasticsearch full specification
Apache License 2.0
121 stars 70 forks source link

Add missing type for ignore_dynamic_beyond_limit for the Indices Sett… #2652

Closed achyutjhunjhunwala closed 3 months ago

achyutjhunjhunwala commented 3 months ago

Summary

The Index Settings API returns an additional optional field called ignore_dynamic_beyond_limit. The Type definition for the same was missing in the specifications. Hence as part of this PR added.

Full API details from the edge-lite server

Request

GET /logs-endpoint.alerts-default/_settings

Response

{
  ".ds-logs-endpoint.alerts-default-2024.06.24-000001": {
    "settings": {
      "index": {
        "mapping": {
          "nested_fields": {
            "limit": "80"
          },
          "total_fields": {
            "limit": "5000",
            "ignore_dynamic_beyond_limit": "true"
          },
          "ignore_malformed": "true"
        },
        "hidden": "true",
        "provided_name": ".ds-logs-endpoint.alerts-default-2024.06.24-000001",
        "final_pipeline": ".fleet_final_pipeline-1",
        "creation_date": "1719193327497",
        "number_of_replicas": "1",
        "uuid": "GnzWPltpSHKtwnyC3QdH2Q",
        "version": {
          "created": "8508000"
        },
        "lifecycle": {
          "name": "logs"
        },
        "codec": "best_compression",
        "routing": {
          "allocation": {
            "include": {
              "_tier_preference": "data_hot"
            }
          }
        },
        "number_of_shards": "1",
        "default_pipeline": "logs-endpoint.alerts-8.14.0"
      }
    }
  }
}
achyutjhunjhunwala commented 3 months ago

Closing the PR in favour of https://github.com/elastic/elasticsearch-specification/pull/2653