Reading Search Result Counts

A search result count can describe all known matches, matches across available sources, or only those returned in the current response.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace a first page
  2. Check scope at failure
  3. Identify the count's population and time
  4. Apply the same visibility rules to counts and results

Trace a first page

A page can show twelve results while a larger set matches the query. A total may be exact, estimated, or omitted according to the service. Pagination defines the current page size.

Check scope at failure

If one source is unavailable, a returned count may describe partial results. Fan-out and combination show why the status needs that context.[1]

Identify the count's population and time

A UI can display twenty rows while the query matches eighty documents. Some search systems estimate or cap match counts. The number on screen should say what it represents, and not imply all matching rows were fetched. See pagination with offsets.

Match tally: 80 under the stated count policy
Page size: 20
Visible results now: 20
A live update can change later counts

Apply the same visibility rules to counts and results

Including excluded documents in a total can reveal unintended information and confuse page navigation. Test empty results and an exact multiple of the page size using public fixtures.

References

  1. Christopher D. Manning, Prabhakar Raghavan and Hinrich Schütze, Introduction to Information Retrieval ↩