Difference between expired and deleted document?

Hi,

I wanted to know the difference between expired and deleted document.
i am using _ttl as 1000 while indexing the document. I want the document to
be deleted instead of expired. How can I control that.

Thanks,
Arjit

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Hi,

I think indices.ttl.interval is used to delete the expire document.
Can I set it to indices.ttl.interval = 0 ? So that as soon as document is
expired its deleted.

My use case is using those documents as distributed locks. So, I want locks
to expire and gets deleted after a ttl .

Thanks,
Arjit

On Saturday, August 24, 2013 9:53:25 PM UTC+5:30, Arjit Gupta wrote:

Hi,

I wanted to know the difference between expired and deleted document.
i am using _ttl as 1000 while indexing the document. I want the document
to be deleted instead of expired. How can I control that.

Thanks,
Arjit

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Any help ?

Thanks ,
Arjit

On Mon, Aug 26, 2013 at 9:03 AM, Arjit Gupta arjit292@gmail.com wrote:

Hi,

I think indices.ttl.interval is used to delete the expire document.
Can I set it to indices.ttl.interval = 0 ? So that as soon as document is
expired its deleted.

My use case is using those documents as distributed locks. So, I want
locks to expire and gets deleted after a ttl .

Thanks,
Arjit

On Saturday, August 24, 2013 9:53:25 PM UTC+5:30, Arjit Gupta wrote:

Hi,

I wanted to know the difference between expired and deleted document.
i am using _ttl as 1000 while indexing the document. I want the document
to be deleted instead of expired. How can I control that.

Thanks,
Arjit

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/Hzc96grlFkU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.