def patch_exploration_search_document(exp_id, update):
 doc = search_services.get_document_from_index(exp_id, SEARCH_INDEX_EXPLORATIONS)
 doc.update(update)
 search_services.add_documents_to_index([doc], SEARCH_INDEX_EXPLORATIONS)

def patch_exploration_search_document ( exp_id , update ) : doc = search_services . get_document_from_index ( exp_id , SEARCH_INDEX_EXPLORATIONS ) doc . update ( update ) search_services . add_documents_to_index ( [ doc ] , SEARCH_INDEX_EXPLORATIONS )
patches an explorations current search document .