phillro/node-elasticsearch-client

deleteByQuery function does not work

Closed this issue · 1 comments

The variable 'path' inside the function is:
var path = '/' + indexName + '/' + typeName + '/_query';

I found it not working with the elastic search version 0.19.8

the function works fine if I modify the variable as
var path = '/' + indexName + '/' + typeName

Please correct the source code.

Please ignore, it was my misunderstanding..