1. A computer-implemented method, comprising: receiving, from a user, a search query comprising a plurality of search criteria associated with a plurality of categories for searching a database that comprises a plurality of records arranged in the categories; receiving, from the user, through a graphical user interface, a weight value for a first category to ascribe an importance of the first category as more or less important than a second category to a search result; comparing the search criteria of the search query with information in the records of the database for each category; identifying, in response to the search query, one or more inexact matching records that comprises records with information that does not exactly match the search criteria of one or more of the categories; generating a relevance value for each of the inexact matching records to represent a degree of relevance of the inexact matching record to the search query based, in part, on weight values associated with the categories; and determining one or more characteristics for displaying the inexact matching records based on the relevance values of the inexact matching records.