def get_index_settings(index):
    return (get_es().indices.get_settings(index=index)
            .get(index, {}).get('settings', {}))
For GEOS unary topology functions.
dataset/ETHPy150Open mozilla/kitsune/kitsune/search/es_utils.py/get_index_settings--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/gis/geos/prototypes/topology.py/topology