Allow building the search query as parameters