elasticsearch-doc-stream
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -40,3 +40,3 @@ var http = require('http'); | ||
var result = JSON.parse(data); | ||
if (!result.hits.hits.length) self.push(null); | ||
if (!result.hits.hits.length) return self.push(null); | ||
result.hits.hits.forEach(function (doc) { | ||
@@ -43,0 +43,0 @@ self.push(doc); |
{ | ||
"name": "elasticsearch-doc-stream", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "read stream of elasticsearch documents", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
3290
4
87