@db.command()<EOL>@click.option(<EOL>"<STR_LIT>", default=False, help="<STR_LIT>"<EOL>)<EOL>@click.option(<EOL>"<STR_LIT>",<EOL>default="<STR_LIT>",<EOL>help='<STR_LIT>',<EOL>)<EOL>def elasticsearch(delete, index_name):
if delete:<EOL><INDENT>bel.db.elasticsearch.get_client(delete=True)<EOL><DEDENT>else:<EOL><INDENT>bel.db.elasticsearch.get_client()<EOL><DEDENT>
Setup Elasticsearch namespace indexes

    This will by default only create the indexes and run the namespace index mapping
    if the indexes don't exist.  The --delete option will force removal of the
    index if it exists.

    The index_name should be aliased to the index 'terms' when it's ready