String Type in ES5.0


(염경훈) #1

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.

(David Pilato) #2

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.


(염경훈) #3

thank you!!


(system) #4

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