Problem date error 0000-00-00

Hello,

I have a problem with date format, when I'm indexing my SQL table, I have
this :
0000-00-00' can not be represented as java.sql.Date

I have tried this for my mapping :

my date = array(
'type' => 'date',
"format"=>"date",
'null_value'=>'0000-00-00',
);

but this did not work !

Can you help me to find an answer ?

Thank you in advance.

Tanguy

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/b520d277-72f5-4291-ba8c-938cae48e327%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.