Skip to content

Instantly share code, notes, and snippets.

View fumblehool's full-sized avatar

Damanpreet Singh fumblehool

View GitHub Profile
@fumblehool
fumblehool / scroll.py
Created September 11, 2020 09:28 — forked from hmldd/scroll.py
Example of Elasticsearch scrolling using Python client
# coding:utf-8
from elasticsearch import Elasticsearch
import json
# Define config
host = "127.0.0.1"
port = 9200
timeout = 1000
index = "index"