Opened 16 years ago
Last modified 16 years ago
#469 verified enhancement
Search engine real time updates should cancel on index rebuild
| Reported by: | bweaver | Owned by: | bweaver |
|---|---|---|---|
| Priority: | major | Milestone: | Release Candidate 1 |
| Component: | Search Engine | Version: | 1.5.1340 |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
If an index rebuild is issued, all pending realtime updates for that index should be cancelled since all their processing results will be thrown away anyway after the full rebuild has completed.
Note only realtime updates related to the given index should be cancelled, others should continue to process.
This ticket also consists of a bug which occurs during realtime updates, which causes some internal searches (those being performed for the realtime update itself) to throw errors into the log.
Change History (3)
comment:1 by , 16 years ago
| Status: | new → addressed |
|---|
comment:2 by , 16 years ago
| Status: | addressed → released |
|---|
comment:3 by , 16 years ago
| Status: | released → verified |
|---|
Appears to work on GRIN-Global Admin v 1.5.1340.0 on sqlserver. Pending realtime are cancelled once an index is complete. Records added since the completion stay pending. No errors are showing up in the log.

(In [1341]) - fixes #469 when an index rebuild is started, all pending realtime updates for that index are purged. Also fixes the problem of cached keyword searches sometimes returning hits for old data when the data has been deleted from the database and the search index, but the term caching mechanism is not updated properly so the hit would still be returned.