Elasticsearch
Frequently used code for Elasticsearch
Using httpie library for the requests
Create an Index
Check if index exists
Get index with a given alias
Delete an Index
Example of search
References
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html#indices-aliases-api-add-alias-ex
Last updated