Techniques are provided for selective re-indexing of a database. A pre-defined set of document properties are associated with one or more documents stored in a primary database. A schema defines which of the document properties are stored in a search database. When a search query is executed against a search database, a document satisfying the search query is returned from the search database along with the corresponding schema version number. If the schema version number associated with the document stored in the storage database is different from a target version number stored in a schema version lookup table, the data in the search database is presumed to be stale and a re-indexing of the search database is requested to bring the database current.
Legal claims defining the scope of protection, as filed with the USPTO.
3. The method of claim 1, further comprising causing presentation of the document via a user interface.
4. The method of claim 1, wherein the storing of the at least one property associated with the document in the search database is in response to the schema version number being different from the target version number.
5. The method of claim 1, wherein the method further comprises changing, in the schema version lookup table, the target version number in response to a change in at least one property associated with a schema.
6. The method of claim 5, further comprising, in response to changing the target version number in the schema version lookup table, causing the indexing service to re-index the document by sending the message including the unique identifier to the indexing service via the message queuing service.
7. The method of claim 1, wherein the target version number is associated with a user and/or a client that submitted the search query.
10. The system of claim 9, wherein the storing of the at least one property associated with the document in the search database is in response to the schema version number being different from the target version number.
11. The system of claim 9, wherein the at least one processor is further configured to cause presentation of the document via a user interface of the client computing device.
12. The system of claim 9, wherein the at least one processor is further configured to change, in the schema version lookup table, the target version number in response to a change in at least one property associated with a schema.
13. The system of claim 12, wherein the at least one processor is further configured to, in response to changing the target version number in the schema version lookup table, cause the indexing service to re-index the document by sending the message including the unique identifier to the indexing service via the message queuing service.
14. The system of claim 9, wherein the target version number is associated with a user and/or a client that submitted the search query.
19. The computer program product of claim 16, wherein the process further comprises changing, in the schema version lookup table, the target version number in response to a change in at least one property associated with a schema.
20. The computer program product of claim 19, wherein the process further comprises, in response to changing the target version number in the schema version lookup table, causing the indexing service to re-index the document by sending the message including the unique identifier to the indexing service via the message queuing service.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
May 26, 2021
September 13, 2022
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.