I'm trying to set documents sent to elasticsearch with TTL in Java.

I call the method setTTL of IndexRequestBuilder when indexing documents. 
But I don't know what the time unit and I cannot find in docs and api.

Could anybody helps, Thanks.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/dd982469-3aca-4ede-b0ae-e564ce684c27%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to