_timestamp default not used when path is specified

Hi guys,

I have a problem setting up my _timestamp strategy, I have an index with
_timestamp enabled with the following mapping:

"my_index": {"mappings": {"default": {"_timestamp": {"enabled": true,"
store": true,
"default": "now",
"path": "my_timestamp"},"properties": {}},

And here is my problem, when my_timestamp field is present in the doc to
index all goes well, but when it's not the indexing fails saying that a
timestamp couldn't be parsed. I understand from the documentation that when
no value is provided in request or _source the default value should be used.

Am I doing something wrong?
Thank you!


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/965eab88-7889-41a6-af42-3238cc7c4bed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.