czaban
(Piotr Czabanski)
September 15, 2017, 12:56pm
1
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?
Best regards
Czaban
TTL functionality was deprecated in Elasticsearch 2.x and removed in Elasticsearch 5.x .
czaban
(Piotr Czabanski)
September 15, 2017, 6:41pm
3
It was fundamental to us - is there any other mechanism that determines that an object is to be removed after a certain time?
system
(system)
Closed
October 13, 2017, 6:41pm
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.