made buildSearchURL public

In case you just want the searchURL