They look at metrics such as whether an user immediately returns to the search results after going to a page, how long they stay at a page (relatively to other results, etc). That's the primary metric, according to a search engineer who told me during an interview.