Deprecation of types: How to be future proof?

I am new to elasticsearch and although many resources talk about index types, I just read that they will be removed soon (which I think is a good decision).

In the current 6.1.2 version of ES, we are still required to use types. What do you suggest to be future proof so that when types are no longer supported, we won't have any problems?

I read that in then next versions "doc" (or "_doc" ?) will be the default type name. Is it a good approach to name the types "doc" as a preparation?

Yes. Definitely.

1 Like

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