@elastic/scrollsearch

    1.0.0-beta2 • Public • Published

    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
    

    Install

    npm i @elastic/scrollsearch

    DownloadsWeekly Downloads

    3

    Version

    1.0.0-beta2

    License

    MIT

    Last publish

    Collaborators

    • elasticthomaskim
    • geekbydefault
    • phoey1
    • verogo
    • brianvans
    • breehall
    • trevorpierce
    • glitteringkatie
    • chandlerprall
    • snide
    • chrisronline
    • cchaos
    • jen-huang
    • spalger
    • delvedor
    • courtewing
    • lukasolson
    • ccowan
    • cjcenizal
    • jbudz
    • tylersmalley
    • thomasneirynck
    • weltenwort
    • pugnascotia
    • zinckiwi
    • brandon.kobel
    • nreese
    • elasticdog
    • mgreau
    • fatmcgav
    • mindbat
    • itsmed
    • tylerjl
    • chris.koehnke.at.elastic
    • jonahbull
    • jarpy
    • leathekd
    • drewr
    • nyurik
    • crazybus
    • lukeelmers
    • ddillinger
    • joshdover
    • jasonstoltz
    • bamieh
    • markov00
    • thompsongl
    • ryan.haywood
    • olksdr
    • fxdgear
    • joshmock
    • vignesh.shanmugam
    • watson
    • rhodesjason
    • nik9000
    • jmlrt
    • eliperelman
    • mattkime
    • constancecchen
    • yakhinvadim
    • afoucret
    • nickpeihl
    • axw
    • mistic
    • elasticmachine
    • gtback
    • johannes.reuter.elastic
    • pickypg
    • gmmorris
    • richard.kuzsma
    • alanstorm
    • trentm
    • andrewvc-elastic
    • jorge.sanz
    • stratoula
    • nkammah
    • streamich
    • nickofthyme
    • chloeruka