Tenantization of search result ranking
First Claim
1. 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.
2 Assignments
0 Petitions
Accused Products
Abstract
This disclosure describes methods and systems for searching documents in a multi-tenant hosting environment. According to embodiments, to conserve hardware resources, a plurality of documents associated with a plurality of tenants may be mapped to the same search index in the multi-tenant hosting environment. In order to search documents associated only with a single tenant in the multi-tenant hosting environment, a tenant identifier is prepended to every key stored in the search index that is associated with the plurality of documents of the single tenant. Moreover, where one document links to another document within the multi-tenant hosting environment, the link is stored in a web graph when a source tenant identifier matches a target tenant identifier for the link. According to embodiments, when conducting a search, the link is resolved only if the link is stored in the web graph.
-
Citations
20 Claims
-
1. 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. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer system, comprising:
-
at least one processor; and at least one memory, communicatively coupled to the at least one processor and containing computer-readable instructions that, when executed by the at least one processor, perform 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. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer-implemented method of indexing a first document in a multi-tenant hosting environment, 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. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification