Search and relevance decoded