Module for Elasticsearch storage
This class implements Elasticsearch storage.
index- str: The index name to store the data to. It will be automatically prefixed with the app_id.
Perform a search in elasticsearch in the idnex self.index.
body- The body of the search
auto_scroll- If an auto_scroll has to be done.
Returns- if auto_scroll is true it will return a tuple with a generator with the results as first element and metadata as second element. Otherwise it will return everything together.
Creates an index with the schema or an empty schema. If the index already exists it does nothing.
Deletes the index
Performs bulk operations to the index only.