Skip to content

Commit 64c220e

Browse files
authored
Fix the doc hmalphettes#19
1 parent 6733b20 commit 64c220e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ var client = new require('elasticsearch').Client();
2626

2727
var bulkExec = function(bulkCmds, callback) {
2828
client.bulk({
29-
index : 'myindex',
30-
type : 'mytype',
29+
_index : 'myindex',
30+
_type : 'mytype',
3131
body : bulkCmds
3232
}, callback);
3333
};

0 commit comments

Comments
 (0)