Push-model based index deletion
First Claim
Patent Images
1. A method comprising:
- detecting, by a first transaction monitor of a plurality of transaction monitors that are coupled to a database, a first transaction that is configured to delete a first record in a first table of the database;
in response to the detecting the first transaction, generating a first message that comprises a first identifier that identifies the first record within the first table;
in response to the detecting the first transaction, generating a first entry, corresponding to the first transaction, in a transaction log of the first transaction monitor;
identifying a timestamp associated with the first entry in the transaction log;
identifying a timestamp that represents a last time that an update message was transmitted to the computer system;
identifying a current timestamp;
determining whether the timestamp associated with the first entry in the transaction log is between the timestamp that represents the last time that the update message was transmitted to the computer system and the current timestamp,wherein the first message is generated in response to determining that the timestamp associated with the first entry in the transaction log is between the timestamp that represents the last time that the update message was transmitted to the computer system and the current timestamp;
transmitting the first message to a computer system that implements a search engine and a search index; and
causing all instances of the first identifier in the search index to be deleted by the computer system, in response to the computer system receiving the first message,wherein the all instances of the first identifier in the search index are mapped to one or more keywords in the search index, wherein the one or more keywords are included in data content of the first record.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for push-model based index deletion. In one embodiment of the method, a first transaction is generated for deleting a first data object from memory. A first message is generated in response to generating the first transaction, wherein the first message comprises information related to an identifier of the first data object, and wherein the first message comprises information that indicates that the first data object was or will be deleted. The first message is then transmitted to a computer system that implements a search engine.
68 Citations
18 Claims
-
1. A method comprising:
-
detecting, by a first transaction monitor of a plurality of transaction monitors that are coupled to a database, a first transaction that is configured to delete a first record in a first table of the database; in response to the detecting the first transaction, generating a first message that comprises a first identifier that identifies the first record within the first table; in response to the detecting the first transaction, generating a first entry, corresponding to the first transaction, in a transaction log of the first transaction monitor; identifying a timestamp associated with the first entry in the transaction log; identifying a timestamp that represents a last time that an update message was transmitted to the computer system; identifying a current timestamp; determining whether the timestamp associated with the first entry in the transaction log is between the timestamp that represents the last time that the update message was transmitted to the computer system and the current timestamp, wherein the first message is generated in response to determining that the timestamp associated with the first entry in the transaction log is between the timestamp that represents the last time that the update message was transmitted to the computer system and the current timestamp; transmitting the first message to a computer system that implements a search engine and a search index; and causing all instances of the first identifier in the search index to be deleted by the computer system, in response to the computer system receiving the first message, wherein the all instances of the first identifier in the search index are mapped to one or more keywords in the search index, wherein the one or more keywords are included in data content of the first record. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method comprising:
-
receiving, at a computer system that implements a search engine and a search index that maps keywords to identifiers, a first message that comprises a first identifier of a first record in a first table of a database and information that indicates that the first record will be deleted, from a first transaction monitor of a plurality of transaction monitors that are coupled to the database, wherein the first message is generated based on a timestamp associated with a first entry, corresponding to a first transaction associated with the first message, in a transaction log of the first transaction monitor; and in response to the receiving the first message, deleting all instances of the first identifier from the search index, wherein the all instances of the first identifier in the search index are mapped to one or more keywords in the search index, wherein the one or more keywords are included in data content of the first record. - View Dependent Claims (11, 12, 13)
-
-
14. One or more non-volatile computer readable memories (CRMs) comprising computer executable instructions, wherein a method is implemented in response to executing the computer executable instructions, the method comprising:
-
detecting, by a first transaction monitor of a plurality of transaction monitors that are coupled to a database, a first transaction that is configured to delete a first record in a first table of the database; generating a first message that comprises a first identifier that identifies the first record within the first table, in response to the detecting the first transaction; in response to the detecting the first transaction, generating a first entry, corresponding to the first transaction, in a transaction log of the first transaction monitor; identifying a timestamp associated with the first entry in the transaction log; identifying a timestamp that represents a last time that an update message was transmitted to the computer system; identifying a current timestamp; determining whether the timestamp associated with the first entry in the transaction log is between the timestamp that represents the last time that the update message was transmitted to the computer system and the current timestamp, wherein the first message is generated in response to determining that the timestamp associated with the first entry in the transaction log is between the timestamp that represents the last time that the update message was transmitted to the computer system and the current timestamp; transmitting the first message to a computer system that implements a search engine and a search index; and causing all instances of the first identifier in the search index to be deleted by the computer system, in response to the computer system receiving the first message, wherein the all instances of the first identifier in the search index are mapped to one or more keywords in the search index, wherein the one or more keywords are included in data content of the first record.
-
-
15. A non-volatile computer readable memory (CRM) comprising computer executable instructions, wherein a method is implemented in response to executing the computer executable instructions, the method comprising:
-
receiving, at a computer system that implements a search engine and a search index that maps keywords to identifiers, a first message that comprises a first identifier of a first record in a first table of a database and information that indicates that the first record will be deleted, from a first transaction monitor of a plurality of transaction monitors that are coupled to the database, wherein the first message is generated based on a timestamp associated with a first entry, corresponding to a first transaction associated with the first message, in a transaction log of the first transaction monitor; and in response to the receiving the first message, deleting all instances of the first identifier from the search index, wherein the all instances of the first identifier in the search index are mapped to one or more keywords in the search index, wherein the one or more keywords are included in data content of the first record. - View Dependent Claims (16, 17, 18)
-
Specification