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
Do to the way parameters are normalized, passing an options parameter as well as a cb parameter results in the callback being set to false.
For example:
vardoc={data : 'helo'};// This workselastic.index('index','type',doc,'id1',function(){...});// This does notelastic.index('index','type',doc,'id1',{parent: 'blah'},function(){...});
I might have time to do a PR in a couple days.
The text was updated successfully, but these errors were encountered:
hmalphettes
added a commit
to hmalphettes/node-elasticsearch-client
that referenced
this issue
Apr 4, 2013
Extensive tests for the es#bulk operation
Ability to pass use the endpoints /{index}/_bulk,
and {index}/{type}/_bulk by passing those parameters
in the options as _index and _type
Fixed the pulling out of the options arguments
when it is not defined (phillroGH-62)
Do to the way parameters are normalized, passing an
options
parameter as well as acb
parameter results in the callback being set tofalse
.For example:
I might have time to do a PR in a couple days.
The text was updated successfully, but these errors were encountered: