add relevance sorting and modify portal autocomplete url