Build search handler URL for search requests