TTL for nested objects

Hi,
Does anyone know if there's an option to declare TTL time for nested objects?
Meaning that the nested object will be deleted, but the parent doc will still remain.

Thanks in advanced,

oren

No, this isn't possible at the moment. A TTL can only be specified for the
complete document, but not for parts of a document. Even though a nested
inner object is an individual Lucene document under the hood, it is still
part of the whole (root) document and it is tightly coupled to that.

If a ttl for you nested objects is important, perhaps you can use the
parent / child support or the Terms filter's terms lookup support instead
of the nested support.

On 21 July 2013 15:15, oreno oreno@exelate.com wrote:

Hi,
Does anyone know if there's an option to declare TTL time for nested
objects?
Meaning that the nested object will be deleted, but the parent doc will
still remain.

Thanks in advanced,

oren

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/TTL-for-nested-objects-tp4038426.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

--
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.

--
Met vriendelijke groet,

Martijn van Groningen

--
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.