elasticscroll
Tool to use the Elasticsearch Scrooll API
Last updated 4 years ago by grahamjenson .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install elasticscroll 
SYNC missed versions from official npm registry.

#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.

Current Tags

  • 0.0.6                                ...           latest (4 years ago)

6 Versions

  • 0.0.6                                ...           4 years ago
  • 0.0.5                                ...           4 years ago
  • 0.0.4                                ...           4 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dependencies (3)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |