View on GitHub

mooda

Module for Ocean Observatory Data Analysis - Python package

mooda.es_create_indexes(delete_previous_indexes=True, **kwargs)

Reference

Creation of ElasticSearch Indexes to save a WaterFrame object.

Parameters

Returns

Example

To reproduce the example, install run an ElasticSeach server on localhost:9200.

import mooda as md

done = md.es_create_indexes()

if done:
    print("Indexes created.")

Output:

Indexes created.

Return to Index.