Re: disabling dynamic date time formatting in python api or globally

2015-02-15 Thread David Pilato
Set the mapping for this field to be a string. http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html#string It won’t be converted as a date. -- David P

Re: disabling dynamic date time formatting in python api or globally

2015-02-15 Thread Shahid Qadri
i know i just want to disable automatic date conversion as my date strings are not in valid format(they can be empty as well) On Sunday, February 15, 2015 at 7:29:59 PM UTC+5:30, David Pilato wrote: > > Sounds like "--" is not a valid date. > > -- > David ;-) > Twitter : @dadoonet / @elasticsearc

Re: disabling dynamic date time formatting in python api or globally

2015-02-15 Thread David Pilato
Sounds like "--" is not a valid date. -- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs > Le 15 févr. 2015 à 14:44, Shahid Qadri a écrit : > > guys getting this error > > raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, > error_message, additional_info)

disabling dynamic date time formatting in python api or globally

2015-02-15 Thread Shahid Qadri
guys getting this error raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info) RequestError: TransportError(400, u'MapperParsingException[failed to parse [SOURCES.DATE_COMP]]; nested: MapperParsingException[failed to parse date field [--], tried