-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update API: update by query #1607
Comments
Would really love this feature too! |
+1 |
3 similar comments
+1 |
+1 |
+1 |
+1 |
2 similar comments
+1 |
+1 |
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
I really need this feature |
👍 |
While waiting this feature to be officially finished and released, I've packaged the pull request #2231 as a plugin: yakaz/elasticsearch-action-updatebyquery. |
+1 |
6 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
3 similar comments
+1 |
+1 |
+1 |
can some one review this and give feedback. Update by query fails while update more then 20 + million record . |
@Praveen82 you are using a 3rd party plugin. This isn't the right place to be requesting support, you should post that as an issue on that plugin's repository. |
#15125 is implementing a syntax that will look a little like
The reason this was stalled for so long is because of those timeouts: up until now there has been a way to launch long running job in Elasticsearch and report on their status and things. With the task management api (#15347) eminent I picked up the torch on "reindex" and "update-by-query" style things and started them again with the intent to integrate with task management ASAP. Anyway, #15125 and any followup PRs are the place to look for this feature. |
+1 |
+1 |
+1 |
2 similar comments
+1 |
+1 |
Update by query is live in 2.3.0 and 5.0.0-alpha-1. The docs are here. |
Does update by query in 2.3.+ or 5.+ support the javascript plugin? |
If you really want it, sure. In 2.3+ we test update-by-query against groovy and in 5.+ we test against painless. We used to test against groovy and it worked there as well. I expect javascript will work fine. |
JS support would be pretty slick. |
As I said, it exists, you just have to install the plugin. The trouble with all of these languages is that their implementation on the JVM aren't properly oriented for embedding. That is why we don't include it by default. Anyway, if you want to talk more about it I think discuss.elastic.co is a more appropriate place for it. |
#1583 allows to update individual documents. Update by query will reduce the network roundtrips radically if you want to update a number of documents and push work from the client to ES.
The text was updated successfully, but these errors were encountered: