1. A machine-implemented method, comprising: receiving a query that includes: a location path that identifies the hierarchical location of a set of documents within a resource repository, and a content path that identifies hierarchical location of one or more nodes within the content of the set of documents; computing the query, wherein computing includes: using, based on the location path, an index to generate first results corresponding to the set of documents, and using, based on the content path, said index to generate second results corresponding to the one or more nodes; and computing results of the query based on the first results and the second results; wherein said index includes entries that: index the hierarchical location of each resource of a plurality of resources in the resource repository, and index nodes within the content of each resource of the plurality of resources.