1. A system for scoring documents, comprising: one or more computers; and a storage medium coupled to the one or more computers and having instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations comprising: receiving a search criteria; identifying one or more documents responsive to a search criteria; determining a text match score for each document based on degree of match between the responsive document and the search criteria; determining a document-categories score for each of a plurality of categories based on a degree of match between each document and each of the categories; determining a search criteria-categories score for each of the one or more categories based on a degree of match between the search criteria and each of the one or more categories, wherein the search criteria-categories score for a particular category indicates the degree of match between the search criteria and the category; determining a category match score for each document by combining the document-categories score of each of the one or more categories and the respective search criteria-categories score; determining an overall score for each document based on the text match score of each document and the respective category match score; and determining, based on the overall score for each document, a ranked order for the one or more documents.