String Type in ES5.0

I have a some question!

Previously I used Elastic 2.3 Version and now upgrade to ES 5.1

In 2.3, Analyzed or Not analyzed type is String.
but from 5.0, I noticed that the type was changed to text and keword.

I was test the index by migration tool.
but result is does not need to reindex the old index.

Is it normal to use without changing the type?

this is my system information.

  • OS : centos7 operating system.
  • upgraded ES from version 2.3 to version 5.1
  • Using the Java API.

Yes. If you have existing indices using string, elasticsearch will be able to read them.
But you can not create a new index using a type string in the mapping.

1 Like

thank you!!

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