I'm trying to load via a mapreduce job in Java using Hadoop-Es. The issue is it tries to load it as a date but I want a string "yyyy-MM-dd". Any idea? I tried a date but it converts to a different format
David_she (David She) #1
jkuang (Jimmy Kuang) #2
ES will dynamically create the field type it think best suits the value. Since YYYY-MM-dd you're using is a date, it will automatically create a type date. If you want to use "string", you will have to manually create the ES mapping yourself first.
system (system) #3