How do rivers work in terms of CRUD..?
I.e are they additive only or can they be used to edit and delete..?
e.g can a stream of messages from rabbitmq be mapped against the current content of an index or does it just overwrite/put ?
Thanks,
J
How do rivers work in terms of CRUD..?
I.e are they additive only or can they be used to edit and delete..?
e.g can a stream of messages from rabbitmq be mapped against the current content of an index or does it just overwrite/put ?
Thanks,
J
It depends on the river.
CouchDb river support delete.
For twitter, it doesn't make sense.
I don't know about rabbitmq.
HTH
David
Twitter : @dadoonet / @elasticsearchfr
Le 17 juin 2012 à 12:19, SamTse kingjerome@gmail.com a écrit :
How do rivers work in terms of CRUD..?
I.e are they additive only or can they be used to edit and delete..?
e.g can a stream of messages from rabbitmq be mapped against the current content of an index or does it just overwrite/put ?
Thanks,
J
thanks. So (with couch db) if you wanted index updates you would delete and add..?
(can you point me at somewhere that will illustrate how indexed items to delete are selected?)
thx,
j
The _changes Couchdb API provide this information.
So when ES get a DELETE on ID X, ES delete the document.
You may have a look at the CouchDb documentation.
David
Twitter : @dadoonet / @elasticsearchfr
Le 18 juin 2012 à 02:12, SamTse kingjerome@gmail.com a écrit :
thanks. So (with couch db) if you wanted index updates you would delete and add..?
(can you point me at somewhere that will illustrate how indexed items to delete are selected?)
thx,
j
thx
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.