How partially update mapping

I need to include new dynamic template for different languages base on document language definition. I don't want to upload all mapping ( dynamic templates) for all supported languages at the beginning. Instead I want to add new mapping to already existing on demand. It is possible add a new template to already defined ones in existing mapping?

You can add the template, however it will only be applied to new documents in the index.

Why don't you use different indices?

If it is possible to add new templates please explain how to do it?
It is ok that new template will be applied only to new documents

https://www.elastic.co/guide/en/elasticsearch/reference/6.5/indices-templates.html should get you started.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.