Cascading in elasticsearch


(Komal Parekh) #1

Hello,

Like we have cascade on update and cascade on delete in SQL , do we have
any such functionality in ElasticSearch?

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4a72c347-d62d-4a4c-a230-242369241df7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(David Pilato) #2

Not exactly but I think you can use http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-delete-by-query.html#docs-delete-by-query to remove all children corresponding to a given parent and then remove the parent?

I suppose you are talking about parent / child feature right?

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 20 mars 2014 à 10:45:26, Komal Parekh (komaldparekh@gmail.com) a écrit:

Hello,

Like we have cascade on update and cascade on delete in SQL , do we have any such functionality in ElasticSearch?

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4a72c347-d62d-4a4c-a230-242369241df7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.532ab9e5.1d9f6e5f.97ca%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.


(system) #3