You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pyelasticsearch has a bulk_index method on ElasticSearch which takes an index and a doc_type, puts both of them into the action of the request body, and then uses the middle endpoint /{index}/_bulk.
That works with 0.19.11 (and probably later--I haven't sat down and tested much), but fails with 0.17.9 with this:
That suggests that the _bulk endpoint pyelasticsearch is using is new as of ES 0.18.0.
I kind of need to support 0.17.9 because I'm pretty sure Mozilla hasn't moved all our sites over to a later version, yet.
Anyone mind if I do a patch that changes the endpoint used to just /_bulk? Since we're putting the index and doctype in the action, that would work fine.
The text was updated successfully, but these errors were encountered:
http://www.elasticsearch.org/guide/reference/api/bulk.html
That says the endpoints for
_bulk
are:/_bulk
/{index}/_bulk
/{index}/{type}/_bulk
pyelasticsearch has a
bulk_index
method onElasticSearch
which takes an index and a doc_type, puts both of them into the action of the request body, and then uses the middle endpoint/{index}/_bulk
.That works with 0.19.11 (and probably later--I haven't sat down and tested much), but fails with 0.17.9 with this:
I did some skulking around and found this:
elastic/elasticsearch#1375
That suggests that the
_bulk
endpoint pyelasticsearch is using is new as of ES 0.18.0.I kind of need to support 0.17.9 because I'm pretty sure Mozilla hasn't moved all our sites over to a later version, yet.
Anyone mind if I do a patch that changes the endpoint used to just
/_bulk
? Since we're putting the index and doctype in the action, that would work fine.The text was updated successfully, but these errors were encountered: