I'd like to modify many documents in ES at once (something similar to
sql update). To achieve this functionality now I have to get all
matching documents from ES, modify them and index again.
Is there a possibility in ES to modify many documents at once in
better and faster way?
Meybe there should be a command that takes query/filter and function
(for example in java script) that modifies source of all matching
documents.
What do you think about it? Is it possible to implement?
I'd like to modify many documents in ES at once (something similar to
sql update). To achieve this functionality now I have to get all
matching documents from ES, modify them and index again.
Is there a possibility in ES to modify many documents at once in
better and faster way?
Meybe there should be a command that takes query/filter and function
(for example in java script) that modifies source of all matching
documents.
What do you think about it? Is it possible to implement?
I'd like to modify many documents in ES at once (something similar to
sql update). To achieve this functionality now I have to get all
matching documents from ES, modify them and index again.
Is there a possibility in ES to modify many documents at once in
better and faster way?
Meybe there should be a command that takes query/filter and function
(for example in java script) that modifies source of all matching
documents.
What do you think about it? Is it possible to implement?
Being able to provide a query and a javascript to munge the docs is certainly something that is on the roadmap. I have talked about it with aparo and he even hacked it a bit to work on his fork.
Still, it required some foundation to be laid down in order to make it work properly. The good news is that most of the work is done with versioning. There is still some work left for replication aspect, but I certainly see such a feature in the near future.
-shay.banon
On Tuesday, February 8, 2011 at 10:53 PM, Enrique Medina Montenegro wrote:
I'd like to modify many documents in ES at once (something similar to
sql update). To achieve this functionality now I have to get all
matching documents from ES, modify them and index again.
Is there a possibility in ES to modify many documents at once in
better and faster way?
Meybe there should be a command that takes query/filter and function
(for example in java script) that modifies source of all matching
documents.
What do you think about it? Is it possible to implement?
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.