What you can do is to set the mapping for the date field to have:

    { "type": "date", "format": "YYYY-MM-dd HH:mm:ss", "ignore_malformed":
true }

then it will just ignore those invalid dates rather than throwing an error

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAPt3XKSnThkYccGcfTCQYQ%3DJiyiQ_jS1Aq8Tmu9_4x%2Bm_XVQTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to