1. A computer-implemented method comprising: receiving, by an object-relational mapping (ORM) system that is executed by a processing system, a search query object for a full-text search in a relational database from an application client, wherein the search query object is in a first format that is incompatible with the relational database being searched; mapping, by the ORM system, the search query object to a second format that is compatible with the relational database; invoking, by the ORM system, a full-text search engine to perform the full-text search in view of the mapped search query object; creating the filter object in response to determining that a filter object associated with the search query object has not been cached within a cache memory of the ORM system; filtering a search result generated from the full-text search engine using the created filter object and returning the filtered search result to the application client; caching the filter object in the cache memory of the ORM system such that the cached filter object can be used to filter a subsequent search result in response to receiving a subsequent search query object without having to recreate the filter object; receiving, by the ORM system, the subsequent search query object for a subsequent full-text search in the relational database from the application client, wherein the subsequent search query object is in the first format that is incompatible with the relational database being searched; mapping, by the ORM system, the subsequent search query object to the second format that is compatible with the relational database; invoking, by the ORM system, the full-text search engine to perform the subsequent full-text search in view of the mapped subsequent search query object; in response to determining that the filter object has been cached within the cache memory of the ORM system, retrieving the cached filter object from the cache memory of the ORM system; filtering the subsequent search result generated from the full-text search engine using the retrieved filter object and returning the filtered subsequent search result to the application client.
2. The method of claim 1 , further comprising defining a filter represented by the filter object, wherein the filter comprises an indication that caching is enabled for the filter object, and wherein caching the filter object is in response to determining that caching is enabled for the filter object.