Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

es-get-ids

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es-get-ids

Get all ids from ES

latest
npmnpm
Version
1.0.2
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Elasticsearch Get Ids

Get all ids from Elasticsearch

Uses Scroll API to overcome a result window limit of 10 000.

Install

$ yarn add es-get-ids

Usage

import getIds from 'es-get-ids';
await getIds(ES_URL); // 1, 2, 3, 4

// Options
await getIds(ES_URL, {index, type, scroll = '10s', size = 5000, body = {}});

// body can be whatever

FAQs

Package last updated on 11 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts