This search works essentially the same way that Google does, with a few slight twists.

The default search is a word search: each word of your query is searched independently, although if any exact match exists that will be sorted to the top.