'Remove item from Course About Search_index'

@classmethod
def remove_deleted_items(cls, structure_key):

    searcher = SearchEngine.get_search_engine(cls.INDEX_NAME)
    if (not searcher):
        return
    response = searcher.search(doc_type=cls.DISCOVERY_DOCUMENT_TYPE, field_dictionary=cls._get_location_info(structure_key))
    result_ids = [result['data']['id'] for result in response['results']]
    searcher.remove(cls.DISCOVERY_DOCUMENT_TYPE, result_ids)
