TTL Error


(Anjana Regula) #1

Hi All,

I am newbie to the Elastic search.

I am using Elastic dump tool to export and import data into elastic search.,

The error that i am facing is - Caused by: java.lang.IllegalStateException: Mixing up field types: class org.elasticsearch.index.mapper.core.LongFieldMapper$LongFieldType != class org.elasticsearch.index.mapper.internal.TTLFieldMapper$TTLFieldType on field _ttl

our new ES search is running version - 2.4 in which ttl field is deprecated.

can you please let me know the process how to import data without ttl field.

ex:

elasticdump
--input=http://production.es.com:9200/my_index
--output=http://staging.es.com:9200/my_index
--type=analyzer
elasticdump
--input=http://production.es.com:9200/my_index
--output=http://staging.es.com:9200/my_index
--type=mapping
elasticdump
--input=http://production.es.com:9200/my_index
--output=http://staging.es.com:9200/my_index
--type=data ----> this is the step where i am facign ttl error.

can you please suggest.

Regards,
Anjana


(system) #2