We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'd like to use Elastic's Update API to make partial or scripted update to an existing document. Any plans on adding this? thanks in advance!
The text was updated successfully, but these errors were encountered:
Here's the code I used and I'll try to open a PR at some point:
uri = "#{Elastix.config(:uri)}/index_name/type/#{id}/_update" body = %{ script: %{ inline: "ctx._source.tags.add(params.tag)", lang: "painless", params: %{ tag: %{ name: name, } } } } {_, response} = Elastix.HTTP.post(uri, Poison.encode!(body))
Sorry, something went wrong.
Would be a good next feature! I'll milestone it for the next version.
No branches or pull requests
I'd like to use Elastic's Update API to make partial or scripted update to an existing document. Any plans on adding this? thanks in advance!
The text was updated successfully, but these errors were encountered: