Quick Example: Elasticsearch Bulk Index API with Python
A quick example that shows how to use Elasticsearch bulk indexing from the Python client. This is dramatically faster than indexing documents one at a time in a loop with the index() method.