Added input for algorithm selection for multi-search.