I'm performing writes with the transport client.

I can't find documentation for whether the ttl is in seconds or 
milliseconds.  

I know if you send documents via json the TTL is a strong so you can say 
"1s" but the setTTL method in IndexRequestBuilder just takes a long.

I THINK it's seconds because my documents are staying around too long (as 
I"m setting them in ms).

Can anyone confirm?

The Javadoc probably should be updated to reflect this as I couldn't find 
it anywhere.  IE it's not in the RTFM

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/883794e5-e0ae-43eb-a3e1-58979bd8a183%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to