def _get_method(self, **method_map):
        method_name = method_map[self.index_class]
        method = getattr(self.client, method_name)
        return method
Returns the right method, depending on the index class type.
dataset/ETHPy150Open espeed/bulbs/bulbs/neo4jserver/index.py/Index._get_method