1. A method in a computer system for locating items offered for purchase via an online store, the method comprising: providing a hierarchical classification of the items offered for purchase via the online store, each item having terms describing the item; and after the hierarchical classification of items has been provided, receiving a search query relating to an item to be located in the online store, the search query including one or more query terms; selecting as matching items those items whose terms most closely match the received search query; after selecting the matching items, identifying classifications each containing at least one of the matching items; determining one or more classification names of the identified classifications that contain at least one of the one or more query terms; obtaining, from an index, a set of entries for the classifications, each entry containing a collection of terms that appears in the name of a classification and the terms that appear in the items within the classification, each entry being associated with a priority based on a field in which the terms of the entry appear; and generating a page for displaying the identified classifications as the search results and arranging the identified classifications on the page in an order such that any classification containing at least one of the one or more query terms in the classification name of said classification is assigned higher priority on the page than classifications that contain the matching items but do not contain at least one of the one or more query terms in the classification name of the classification, wherein the index is used to arrange the identified classifications in said order and wherein arranging the identified classifications on the page in said order includes adjusting for the priority of the entries in the index.