Patent ID: 7958126

Claim:
A method comprising: in response to receiving a search query executed against base items, identifying a particular set of matching items; wherein the particular set includes both: (a) one or more base items, and (b) one or more non-base collection items; wherein each non-base collection item represents a plurality of base items; determining a relevancy ranking for each matching item in the particular set relative to all other matching items in the particular set by generating a relevance score for each matching item in the particular set; wherein the one or more base items includes a first base item and a second base item; wherein the one or more non-base collection items includes a particular collection item; wherein the relevance score for the particular non-base collection item is based at least in part on which base items belong to a collection represented by the particular non-base collection item; wherein the relevance score for the first base item is higher than the relevance score for the particular non-base collection item; wherein the relevance score for the second base item is lower than the relevance score for the particular non-base collection item; and responding to said search query by providing first search results based on the particular set of matching items and the relevancy rankings, wherein providing search results includes providing a first ranked listing of matching items from said particular set, wherein said first ranked listing (a) includes said first base item, said second base item, and said particular collection item, and (b) is ordered based on said relevancy rankings; wherein the first ranked listing indicates a first position for the first base item, a second position for the particular collection item, and a third position for the second base item; wherein the method is performed by one or more computing devices.