Disabling date detection from Java API

Hi,

I am trying to index a large JSON file in Elasticsearch but, some malformed date variables (containing '\n' inside date) is causing exception. I already came across this: https://www.elastic.co/guide/en/elasticsearch/reference/5.0/dynamic-field-mapping.html#dynamic-field-mapping but I wanted to do this from the Java API. Can you please help?

Thanks in advance.

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