Refactor search based on query parameters