Skip to content

deptofdefense/ElasticScroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Elastic Scroll

A minimal library for efficient elasticsearch queries

Install

git clone https://github.com/departmentofdefense/elasticscroll
cd elasticscroll
pip3 install .

Upgrade

cd elasticscroll
git pull origin master
pip3 install --upgrade .

Usage

import elasticscroll

esm = elasticscroll.ElasticMinimal('https://your-es-endpoint')

lookup = {
    'query': {
        'term': {'id_resp_h': '192.83.203.129'}
    }
}

for res in esm.scroll_query('conn', lookup):
    print(res)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages