Delete child documents when parent is deleted. #1954

Closed
Avatah opened this Issue May 16, 2012 · 14 comments

Projects

None yet
@Avatah

Discussed here:
https://groups.google.com/forum/?fromgroups#!topic/elasticsearch/nfpTXJFePhA
Child documents should be deleted when parent documents is deleted. Especially if it's deleted by ttl.

@pcdinh

Any update on this issue?

@Mopster

Any news on this ?

@mzafer

+1

@mzafer mzafer referenced this issue in richardwilly98/elasticsearch-river-mongodb May 8, 2013
Closed

mongodb to elasticsearch removal strategy #42

@tarang-dawer

+1 , any updates ?

@martijnvg martijnvg was assigned Aug 27, 2013
@jugaadi

+1

@synhershko

+1

I would also like to see an option where adding a new child resets the TTL of the parent (keep-alive)

@syedhabib53

+1
Any update on this...

@clintongormley
elastic member

Blocked by #2230

@clintongormley
elastic member

Revisiting this issue: I can't seen us implementing this as some kind of built in trigger, especially as we are talking about making the _ttl functionality simpler and less automatic.

Deleting children of a parent is easy enough to do client side with the delete-by-query plugin, as is deleting expired docs. I'm going to close this

@Alireza-DarkMan

Hi
I wonder if delete-by-query is deprecated why should we use it?

@clintongormley
elastic member

The delete-by-query plugin is not deprecated.

@Alireza-DarkMan

Sorry that was a miss understanding.
Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment