Copy index using the Python/elasticsearch package
Hello, a quick post on how to copy an index using a python client in version 7 (this is also a demonstration of how to use clients in a lower version) import argparse from elasticsearch7 import Elasticsearch from elasticsearch7.exceptions import ConnectionError from datetime import datetime def main(): parser = argparse.…