Caching name-based filters in a full-text search engine
First Claim
1. A computer-implemented method, comprising:
- receiving at an object-relational mapping (ORM) system a search query for a full-text search in a relational database received from an application client, the search query written in a first query language incompatible with the relational database being searched;
invoking a full-text search engine to perform the requested full-text search based on the mapped search query;
filtering a search result generated from the full-text search engine using a filter object representing a filter associated with the search query and executing the zero or more queries to the relational database to return the filtered result to the application client; and
caching the filter object in a cache memory of the ORM system such that the cached filter object can be used in subsequent search queries without having to recreating the same filter object.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for filtering a full-text search result in a full-text search engine level are described herein. According to one embodiment, in response to a search query received at an ORM system for a full-text search in a relational database, a full-text search engine is invoked to perform the requested full-text search based on the search query. A filter is utilized to filter a search result generated from the full-text search engine using a filter object representing a filter associated with the search query and returning the filtered result to the application client. Thereafter, the filter object is cached in a cache memory of the ORM system such that the cached filter object can be used in subsequent search queries without having to recreating the same filter object. Other methods and apparatuses are also described.
11 Citations
20 Claims
-
1. A computer-implemented method, comprising:
-
receiving at an object-relational mapping (ORM) system a search query for a full-text search in a relational database received from an application client, the search query written in a first query language incompatible with the relational database being searched; invoking a full-text search engine to perform the requested full-text search based on the mapped search query; filtering a search result generated from the full-text search engine using a filter object representing a filter associated with the search query and executing the zero or more queries to the relational database to return the filtered result to the application client; and caching the filter object in a cache memory of the ORM system such that the cached filter object can be used in subsequent search queries without having to recreating the same filter object. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer readable medium including instructions that, when executed by a processing system, cause the processing system to perform a method comprising:
-
receiving at an object-relational mapping (ORM) system a search query for a full-text search in a relational database received from an application client, the search query written in a first query language incompatible with the relational database being searched; invoking a full-text search engine to perform the requested full-text search based on the mapped search query; filtering a search result generated from the full-text search engine using a filter object representing a filter associated with the search query and executing the zero or more queries to the relational database to return the filtered result to the application client; and caching the filter object within the ORM system such that the cached filter object can be used in subsequent search queries without having to recreating the same filter object. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. An object-relational mapping (ORM) system, comprising:
-
an object-relational mapping (ORM) unit to receive a search query for a full-text search in a relational database received from an application client, the search query written in a first query language incompatible with the relational database being searched; a search unit to invoke a full-text search engine to perform the requested full-text search based on the mapped search query; a filtering unit to filter a search result generated from the search unit using a filter object representing a filter associated with the search query and executing the zero or more queries to the relational database to return the filtered result to the application client; and a caching mechanism to cache the filter object in a cache memory of the ORM system such that the cached filter object can be used in subsequent search queries without having to recreating the same filter object. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification