Search Result Snippets

Daniel Tunkelang
Query Understanding
3 min readMar 12, 2018

--

Search result snippets, also known as query-biased summaries, are the additional context included with each result on the search results page. They are an essential tool to help searchers find what they’re looking for.

Search result snippets can serve various purposes. Sometimes snippets allow searchers to satisfy their information needs directly from the search results page, such as when a sentence answering the searcher’s question appears in the snippet. In general, snippets allow search engines to establish trust and comfort by showing searchers how each result matches the query.

But the most important function that search result snippets serve is helping searchers quickly determine which results are most likely to satisfy their information needs.

Snippets as Relevance Signals

No retrieval strategy can achieve perfect precision — every strategy represents a trade-off between precision and recall. As a result, searchers often need to scan the set of search results in order to determine which results are relevant to their needs.

An important measure of the effectiveness of snippets — and of search results presentation generally — is how often searchers bounce back from clicks on search results back to the search results page. Unless the searcher is performing an exploratory search with the goal of collecting multiple relevant results, a high bounce rate tells us that the search results page isn’t providing a strong enough relevance signal for each result.

Query-Independent Summaries

In most search applications, the search results page shows a short, query-independent summary for each result entry. A typical summary includes a title, an associated image, and application-appropriate metadata. For example, a document search application might include the document’s type, size, and creation date; while an ecommerce search application might include the brand, price, and average review score. Query-independent summaries, which can be computed as part of the indexing process, should be rich enough to communicate salient information about the results while being concise enough to allow the searcher to scan through them quickly.

It’s a good idea to optimize query-independent summaries through experimentation, using the bounce rate as a success metric. For example, searchers on an ecommerce site might change their minds when they discover how much it will cost in time or money to ship a product. In a document search application, the citation count might be a signal that searchers use to determine whether a document is a credible source. Experimentation is the best way to determine which pieces of information matter most to searchers.

Query-Dependent Summaries

Query-independent summaries, while useful, are not always sufficient to communicate how search results relate to the searcher’s intent. In particular, the query may match a portion of a search result that is not included in a query-independent summary.

A query-dependent or query-based summary focuses on the part of the search result that most relates to the query. At the very least, it shows which field of the document matches the search results. Typically, it presents a single line of document text that contains all or most of the matched query terms, with the query terms bolded or otherwise highlighted to make them salient. When the matched keywords are the result of stemming, lemmatization, or other query expansion, this highlighting makes the query expansion more transparent.

There are many algorithms for generating query-dependent summaries, and most search engines include them as a product feature. For example, Lucene includes a highlight package that handles the various aspects of generating and presenting query-dependent summaries. Specifically, it includes methods to find a span of text in each result containing the query keywords.

Summary

Much as we try to improve query understanding, result retrieval, and result ranking, a search engine will never achieve perfect precision. By showing searchers how each result matches the query, search result snippets establish trust and help searchers determine which results are most likely to satisfy their information needs —and sometimes the snippets are sufficient to satisfy those needs. It’s a reminder the search isn’t just about retrieving relevant results; it’s about communicating effectively with the searcher and efficiently satisfying the searcher’s information needs.

Previous: Search Results Presentation

Next: Search Results Clustering

--

--