-
Notifications
You must be signed in to change notification settings - Fork 75
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
Support for bulk indexing #5
Comments
yes, actually that should be pretty easy, I will add support as soon as I find time. :) for now consider the following workaround: payload = create_bulk_payload(ordered_indexes)
elastic_url = ShopApi.config :elastic_url
index_name = ShopApi.config :elastic_index_name
url = "#{elastic_url}/#{index_name}/_bulk"
Elastix.HTTP.post(url, payload) where
|
Awesome, thanks--that worked great! Feel free to close this if you want, or keep it open until the support is added |
Closed thanks to @FabienHenon #23 |
Would it be possible to add support for bulk indexing documents, as described in the Elasticsearch Bulk API docs? Thanks in advance!
The text was updated successfully, but these errors were encountered: