def _update_index_mappings(conn, name, mappings):
    name = _resolve_alias(conn, name)
    try:
        for doc_type, body in mappings.items():
            conn.indices.put_mapping(index=name,
                                     doc_type=doc_type,
                                     body=body)
    except elasticsearch.exceptions.RequestError as e:
        if not e.error.startswith('MergeMappingException'):
            raise

        message = ("Elasticsearch index mapping cannot be automatically "
                   "updated! Please reindex it. You may find the `hypothesis "
                   "reindex` command helpful.")
        log.critical(message)
        raise RuntimeError(message)
standard deviation, square root of diagonal elements of cov
dataset/ETHPy150Open hypothesis/h/h/api/search/config.py/_update_index_mappings--crossover with--dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/sandbox/distributions/mv_normal.py/MVElliptical.std