class_docstr: Non permanent collection
  
  This collection is meant for debugging purposes within the EphemeralDB.
  
  .. seealso:: :class:`orion.core.io.database.ephemeraldb.EphemeralDB` for database object.
class_docstr_tok: ["Non","permanent","collection","This","collection","is","meant","for","debugging","purposes","within","the","EphemeralDB",".","..","seealso",":",":",":","class",":","`","orion.core.io.database.ephemeraldb.EphemeralDB","`","for","database","object","."]
docstr: Remove index from the database
  
  EphemeralCollection may only contain unique indexes.
docstr_tok: ["Remove","index","from","the","database","EphemeralCollection","may","only","contain","unique","indexes","."]
code: def drop_index(self, name):
      """Remove index from the database
  
      EphemeralCollection may only contain unique indexes.
      """
      if name not in self._indexes:
          raise DatabaseError(f"index not found with name {name}")
  
      del self._indexes[name]
  
imports: import copy
  from collections import defaultdict
  from orion.core.io.database import Database, DatabaseError, DuplicateKeyError
  from orion.core.utils.flatten import flatten, unflatten
label_desc: Use image node_id 4 for calling the EphemeralCollection obj's underlying member method code with example usage: obj.drop_index(name) without return types