elasticsearch-js icon indicating copy to clipboard operation
elasticsearch-js copied to clipboard

Incorrect type spec for create index body settings.index.mapping

Open rudolf opened this issue 2 years ago • 0 comments

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

rudolf avatar Aug 22 '22 09:08 rudolf