Patent ID: 8694507

Claim:
A computer storage device storing computer-executable instructions for implementing a method of indexing a first document in a multi-tenant hosting environment, the method comprising: indexing a first property of a first document in a search index, comprising: identifying a first plurality of keys in the first property of the first document; prepending a first tenant identifier to each key of the first plurality of keys to form a first plurality of first tenant identifier-key combinations; storing the first plurality of first tenant identifier-key combinations in a search index; and mapping the first property of the first document to each of the first plurality of first tenant identifier-key combinations in the search index; indexing a second property of the first document in the search index, comprising: identifying a second plurality of keys in the second property of the first document, wherein the second plurality of keys has one or more keys in common with the first plurality of keys; prepending the first tenant identifier to each key of the second plurality of keys to form a second plurality of first tenant identifier-key combinations, wherein the second plurality of first tenant identifier-key combinations has one or more first tenant identifier-key combinations in common with the first plurality of first tenant identifier-key combinations; and mapping the second property of the first document to each of the second plurality of first tenant identifier-key combinations in the search index.