1. Type about:config in your address bar
2. Search and locate the key called “keyword.url”
3. Double click on the key and update the search URL to match the search engine you desire.
Following are the URLs for common search engines: