I've been working with ES 2.6 and the index like this one:
var response = MyElasticClient.Index(myObject,
i => i.Type("mytype").Ttl(new Time(TimeSpan.FromDays(31))));
now stop working and the error goes like follow:
parse_exception Reason: "failed to parse setting [ttl] with value [4.43w] as a time value: unit is missing or unrecognized"
How to set the TTL for the object?