10. The system of claim 8 , where, when determining whether the total quantity of selections of the document associated with the particular entity identifier is greater than the total quantity of selections of each of the documents associated with the other ones of the entity identifiers, the one or more server devices are to: determine whether the total quantity of selections of the document associated with the particular entity identifier is peaked with respect to the total quantity of selections of each of the documents associated with the ones of the entity identifiers, and where the one or more server devices are further to: store the same variation of the entity name in the first memory when the total quantity of selections of the document associated with the particular entity identifier is peaked; and store the same variation of the entity name in the second memory, when the total quantity of selections of the document associated with the particular entity identifier is not peaked.
8. A system comprising: one or more server devices to: identify entity identifiers, where each of the entity identifiers is associated with a document that was selected, from a plurality of documents, based on a search query including a same variation of an entity name; determine whether a total quantity of selections of the document associated with a particular entity identifier, of the entity identifiers, is greater than a total quantity of selections of each of the documents associated with other ones of the entity identifiers; and store, based on a result of the determining, the same variation of the entity name in a first memory that is used for rewriting search queries or a second memory that is used for suggesting rewritten search queries, where the same variation of the entity name is stored in the second memory when the total quantity of selections of the document associated with the particular entity identifier is greater than the total quantity of selections of each of the documents associated with the other ones of the entity identifiers, and where the same variation of the entity name is stored in the first memory when the total quantity of selections of the document associated with the particular entity identifier is substantially greater than the total quantity of selections of each of the documents associated with the other ones of the entity identifiers.