You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it's possible to define an index level template which gets applied when a new index is created, and a default template which is applied to all types.
We see a need for type templates - this is a template that gets applies when a new type is created - even if it's not in the context of a new index.
I'll explain the use case: we have several types in the system, each has a set of fields that needs to be defined every time the type is created.
We define those type in a template that gets applied when indexes are created. But sometimes we need to delete a type (with all its data) and recreate it. When we do that our template is not applied - since it's not a new index - and we need to explicitly put the mapping for the type. It would be much more consistent if we can define a template for the type that would be applied whenever the type is created.
The text was updated successfully, but these errors were encountered:
Sorry it has taken a while to get to this one. With #8877 we are planning on removing the ability to delete types, and with #8871 types will essentially become collections of fields whose definition (internally) lives at the index level. These changes remove the need for type templates.
Currently it's possible to define an index level template which gets applied when a new index is created, and a default template which is applied to all types.
We see a need for type templates - this is a template that gets applies when a new type is created - even if it's not in the context of a new index.
I'll explain the use case: we have several types in the system, each has a set of fields that needs to be defined every time the type is created.
We define those type in a template that gets applied when indexes are created. But sometimes we need to delete a type (with all its data) and recreate it. When we do that our template is not applied - since it's not a new index - and we need to explicitly put the mapping for the type. It would be much more consistent if we can define a template for the type that would be applied whenever the type is created.
The text was updated successfully, but these errors were encountered: