elasticscroll
v0.0.6
Published
Tool to use the Elasticsearch Scrooll API
Downloads
8
Maintainers
Readme
#ElasticScroll
This is a module that implements the scrolling api for Elasticsearch.
To use this module
ElasticScroll = require 'elasticscroll'
query = {"query": {"term" : "bla"}}
print_to_console = function(hit){console.log(hit)}
es = new ElasticScroll("http://localhost:9200", "docs_index", query, print_to_console)
es.scroll().catch(console.log)
Please read the explination of how this works at maori.geek.