elasticsearch-js
elasticsearch-js copied to clipboard
Incorrect type spec for create index body settings.index.mapping
The Elasticsearch-js client typings for client.indices.create(...)
has type definitions for settings.index.mappings
but according to the docs (and testing against main) this should be settings.index.mapping
(singular)
https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-settings-limit.html#mapping-settings-limit