Our search tool ranks matching results based on a number of factors; for example the number of matches, whether the matches are in the page title or heading, etc. When you search for multiple words it also considers the closeness of the words in the pages. It also ranks small pages with the same number of matches higher than large pages.
Common words, such as 'and', 'the' and 'for', are ignored as are two letter words.
The search engine supports some features to help your search return the best results:
It supports stemming so for example, a search for 'fish' automatically include 'fishes' and 'fishing'. English only.
It also supports synonyms that we add. For example, a search for 'licenses' also searches for 'licences'. If you think we may have missed an obvious synonym, tell us and we will add it.
When you click on a search result to display the matching content, the search highlights the words matched in the content. Currently this does not work in all cases. For the main searches it does not work if the content is opened in a different window that the search results.