def _clear_search_indexes_storage(search_index_path):
 if os.path.lexists(search_index_path):
  try:
   os.remove(search_index_path)
  except OSError as e:
   logging.warning('Failed to remove search indexes file %r: %s', search_index_path, e)

def _clear_search_indexes_storage ( search_index_path ) : if os . path . lexists ( search_index_path ) : try : os . remove ( search_index_path ) except OSError as e : logging . warning ( 'Failed to remove search indexes file %r: %s' , search_index_path , e )
delete the search indexes storage file at the given path .