Methods and systems for performing high volume searches in a multi-tenant store
First Claim
1. A method comprising:
- receiving a query directed to a search;
analyzing the query to select a characteristic of the query that limits the number of records that the query can retrieve from a database;
determining whether the selected query characteristic complies with a search criterion of a plurality of search criteria, each of the plurality of search criteria corresponding to a predefined search index, each predefined search index being drawn from a database and containing identifiers for records of items in the database;
selecting a predefined search index corresponding to the selected query characteristic;
applying the search criterion for the selected query characteristic to the selected predefined search index;
selecting items subject to a collection limit based on applying the search criterion to the selected predefined search index, the collection limit limiting the total number of items that are selected;
post-filtering the selected items against the database using search criteria of the received query other than the search criterion of the selected query characteristic; and
returning a result set for the query, the result set including only items returned from the post-filtering.
1 Assignment
0 Petitions
Accused Products
Abstract
Method and systems for performing high volume searches are described. In one example a method includes receiving a query directed to a database, the database including a plurality of items, determining whether the query complies with one of a plurality of search criteria, each of the plurality of search criteria corresponding to a predefined index of the database, selecting a predefined index of the database corresponding to one of the plurality of search criteria if the query complies with said search criterion, the index containing entries that comply with the corresponding search criterion, applying the query to the selected index to find database items referenced in the index, selecting items based on applying the query to the selected index, building a report for the query, the report including only items of the selected index.
136 Citations
20 Claims
-
1. A method comprising:
-
receiving a query directed to a search; analyzing the query to select a characteristic of the query that limits the number of records that the query can retrieve from a database; determining whether the selected query characteristic complies with a search criterion of a plurality of search criteria, each of the plurality of search criteria corresponding to a predefined search index, each predefined search index being drawn from a database and containing identifiers for records of items in the database; selecting a predefined search index corresponding to the selected query characteristic; applying the search criterion for the selected query characteristic to the selected predefined search index; selecting items subject to a collection limit based on applying the search criterion to the selected predefined search index, the collection limit limiting the total number of items that are selected; post-filtering the selected items against the database using search criteria of the received query other than the search criterion of the selected query characteristic; and returning a result set for the query, the result set including only items returned from the post-filtering. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 18, 19, 20)
-
-
14. A machine-readable medium carrying one or more sequences of instructions, which instructions, when executed by one or more processors, cause the one or more processors to carry out the steps of:
-
receiving a query directed to a search; analyzing the query to select a characteristic of the query that limits the number of records that the query can retrieve from a database; determining whether the selected query characteristic complies with a search criterion of a plurality of search criteria, each of the plurality of search criteria corresponding to a predefined search index, each predefined search index being drawn from a database and containing identifiers for records of items in the database; selecting a predefined search index corresponding to the selected query characteristic; applying the search criterion for the selected query characteristic to the selected predefined search index; selecting items subject to a collection limit based on applying the search criterion to the selected predefined search index, the collection limit limiting the total number of items that are selected; post-filtering the selected items against the database using search criteria of the received query other than the search criterion of the selected query characteristic; and returning a result set for the query, the result set including only items returned from the post-filtering. - View Dependent Claims (15, 16)
-
-
17. An apparatus comprising:
-
a processor; and one or more stored sequences of instructions which, when executed by the processor, cause the processor to carry out the steps of receiving a query directed to a search; analyzing the query to select a characteristic of the query that limits the number of records that the query can retrieve from a database; determining whether the selected query characteristic complies with a search criterion of a plurality of search criteria, each of the plurality of search criteria corresponding to a predefined search index, each predefined search index being drawn from a database and containing identifiers for records of items in the database; selecting a predefined search index corresponding to the selected query characteristic; applying the search criterion for the selected query characteristic to the selected predefined search index; selecting items subject to a collection limit based on applying the search criterion to the selected predefined search index, the collection limit limiting the total number of items that are selected; post-filtering the selected items against the database using search criteria of the received query other than the search criterion of the selected query characteristic; and returning a result set for the query, the result set including only items returned from the post-filtering.
-
Specification