https://github.com/gsf/elasticsearch-each
loop over documents in elasticsearch
https://github.com/gsf/elasticsearch-each
Last synced: 3 months ago
JSON representation
loop over documents in elasticsearch
- Host: GitHub
- URL: https://github.com/gsf/elasticsearch-each
- Owner: gsf
- Created: 2015-03-23T03:41:32.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-24T00:26:00.000Z (over 10 years ago)
- Last Synced: 2025-03-13T17:16:46.491Z (4 months ago)
- Language: JavaScript
- Size: 121 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# elasticsearch-each
Efficiently loop over documents in elasticsearch. Handy for reporting.
```js
var each = require('elasticsearch-each');each({
url: 'http://localhost:9200/test',
query: {
match: {
title: 'elasticsearch'
}
}
}, function (err, doc) {
if (err) console.error(err);
console.log(doc);
});
```