get/destroy an index