I Have created date_withdrawn filed of type date in mapping.The problem was while I'm bulk indexing in some documents we have date_withdrawn=" " and it is raising the following error.
If you are using elasticsearch 5.0, you can also define an ingest pipeline to parse the date and in case of exception, remove the date field. But it's definitely easier to do that from your source instead of in elasticsearch.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.