Parent child mapping & ttl on parent

Hello.

Here is a gist with case I'm interested in:

I'd like child documents to be deleted together with parent document when
ttl elapsed.
If this is not possible than maybe at least _parent field in children
documents could be cleared when parent document is erased?

Regards.
Wojciech Durczyński

It should be possible, can you open an issue?

On Mon, May 14, 2012 at 4:16 PM, Wojciech Durczyński <
wojciech.durczynski@comarch.com> wrote:

Hello.

Here is a gist with case I'm interested in:
ElasticSearch parent child mapping & ttl on parent · GitHub

I'd like child documents to be deleted together with parent document when
ttl elapsed.
If this is not possible than maybe at least _parent field in children
documents could be cleared when parent document is erased?

Regards.
Wojciech Durczyński

Issue created:

W dniu wtorek, 15 maja 2012 22:42:38 UTC+2 użytkownik kimchy napisał:

It should be possible, can you open an issue?

On Mon, May 14, 2012 at 4:16 PM, Wojciech Durczyński <
wojciech.durczynski@comarch.com> wrote:

Hello.

Here is a gist with case I'm interested in:
ElasticSearch parent child mapping & ttl on parent · GitHub

I'd like child documents to be deleted together with parent document when
ttl elapsed.
If this is not possible than maybe at least _parent field in children
documents could be cleared when parent document is erased?

Regards.
Wojciech Durczyński

Hi,

Is there any update on this issue?

On Wednesday, May 16, 2012 3:36:44 PM UTC+7, Wojciech Durczyński wrote:

Issue created:

Delete child documents when parent is deleted. · Issue #1954 · elastic/elasticsearch · GitHub

W dniu wtorek, 15 maja 2012 22:42:38 UTC+2 użytkownik kimchy napisał:

It should be possible, can you open an issue?

On Mon, May 14, 2012 at 4:16 PM, Wojciech Durczyński
wojciech.durczynski@com wrote:

Hello.

Here is a gist with case I'm interested in:
ElasticSearch parent child mapping & ttl on parent · GitHub

I'd like child documents to be deleted together with parent document
when ttl elapsed.
If this is not possible than maybe at least _parent field in children
documents could be cleared when parent document is erased?

Regards.
Wojciech Durczyński

You can follow the issue.

On Thu, Jun 7, 2012 at 9:05 PM, pcdinh pcdinh@gmail.com wrote:

Hi,

Is there any update on this issue?

On Wednesday, May 16, 2012 3:36:44 PM UTC+7, Wojciech Durczyński wrote:

Issue created:

https://github.com/**elasticsearch/elasticsearch/**issues/1954https://github.com/elasticsearch/elasticsearch/issues/1954

W dniu wtorek, 15 maja 2012 22:42:38 UTC+2 użytkownik kimchy napisał:

It should be possible, can you open an issue?

On Mon, May 14, 2012 at 4:16 PM, Wojciech Durczyński
wojciech.durczynski@com wrote:

Hello.

Here is a gist with case I'm interested in:
https://gist.github.com/**2693858 https://gist.github.com/2693858

I'd like child documents to be deleted together with parent document
when ttl elapsed.
If this is not possible than maybe at least _parent field in children
documents could be cleared when parent document is erased?

Regards.
Wojciech Durczyński