Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gsf/elasticsearch-each
loop over documents in elasticsearch
https://github.com/gsf/elasticsearch-each
Last synced: 19 days 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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-24T00:26:00.000Z (almost 10 years ago)
- Last Synced: 2024-12-03T02:41:56.402Z (about 1 month ago)
- Language: JavaScript
- Size: 121 KB
- Stars: 0
- Watchers: 2
- 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);
});
```