TODO removed: refactored literal_search_spec