@elastic/scrollsearch
Scroll through all Elasticsearch search results as a single stream
Last updated 4 years ago by courtewing .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @elastic/scrollsearch 
SYNC missed versions from official npm registry.

Elasticsearch Scrolling Search Circle CI

Scroll through all Elasticsearch search results as a single stream

Requirements

  • Node.js >= 4.3.0

Usage

const streamHits = require('@elastic/scrollsearch');

const url = 'http://localhost:9200/logstash-*/_search';
const params = { query: { term: { response: 200 } } };

streamHits(url, params).pipe(someOtherStream);

Installation

Install into your project via npm:

npm install @elastic/scrollsearch --save

Testing

Either run tests as a once off:

npm test

Or continuously re-run tests whenever files change:

npm run test:dev

Current Tags

  • 1.0.0-beta2                                ...           latest (4 years ago)

3 Versions

  • 1.0.0-beta2                                ...           4 years ago
  • 1.0.0-beta1                                ...           4 years ago
  • 1.0.0-alpha2                                ...           4 years ago

Copyright 2014 - 2016 © taobao.org |