add static method 'ensure_index'