Patent ID: 7472140

Claim:
A computer-implemented method comprising: receiving a database statement for searching across resources, associated with a particular label of a plurality of labels, in a repository, wherein each label of the plurality of labels (a) is associated with no more than one version of any particular resource and (b) is associated with a different label identifier; wherein the plurality of labels are separate and distinct from any version information that indicates the version of each resource, in the repository, relative to other versions of said each resource; in response to receiving the database statement, executing the database statement; and during execution of the database statement: traversing a particular index based, at least in part, on a label identifier that is associated with the particular label, to locate entries within the particular index that are associated with the label identifier, wherein the particular index indexes multiple versions of multiple resources; accessing resources associated with the particular label based on information from the entries associated with the label identifier; and generating output in response to accessing the resources associated with the particular label based on information from the entries associated with the label identifier.