elastic4s icon indicating copy to clipboard operation
elastic4s copied to clipboard

Add runtime fields support to `MappingDefinitionLike`

Open gaelayo opened this issue 2 years ago • 1 comments

Hello, and thank you very much for this library.

Currently, it is possible to provide a runtime field definition when making a request, but it does not look possible to define one when creating or updating the mapping of an index, as per https://www.elastic.co/guide/en/elasticsearch/reference/current/runtime-mapping-fields.html.

Do you think it is possible to add support for the runtime fields in the mapping ?

Thank you

gaelayo avatar Oct 12 '23 11:10 gaelayo

We can add it. If you want to make a PR I'll do the release.

sksamuel avatar Nov 04 '23 19:11 sksamuel

fixed in https://github.com/Philippus/elastic4s/pull/2972

Philippus avatar May 05 '24 21:05 Philippus