Machine learning for search algorithm updates