1. A computer-implemented method for reducing an amount of ranking data analyzed at query time, the method comprising computer-implemented operations for: at index time, selecting a term from a master index, the term corresponding to a number of documents greater than a threshold; selecting a set of documents that includes the term based on the master index; determining a rank for each document in the set of documents that contains the term; assigning each document in the set of documents that contains the term to a top document list or a bottom document list based on the rank; and storing predefined values of at least part of the rank in the top document list for documents in the top document list and not storing the predefined values of at least part of the rank in the bottom document list for documents in the bottom document list.