lp:~kamstrup/zeitgeist-extensions/fts-cap-term-length
- Get this branch:
- bzr branch lp:~kamstrup/zeitgeist-extensions/fts-cap-term-length
Branch merges
- Zeitgeist Extensions: Pending requested
-
Diff: 114 lines (+41/-13)2 files modifiedfts/_tests.py (+1/-0)
fts/fts.py (+40/-13)
Related bugs
Bug #843668: Blowing Xapian max term length corrupts index | High | Fix Released |
Related blueprints
Branch information
Recent revisions
- 73. By Mikkel Kamstrup Erlandsen
-
Make sure we don't add terms to the Xapian index that bust the 245 byte limit. Doing so may corrupt the index.
- 72. By Mikkel Kamstrup Erlandsen
-
Log a warning (not just debug) when trying to index an Event without an id
- 70. By Mikkel Kamstrup Erlandsen
-
Really, like really really, don't index events with subjects URIs that are ridiculously long
- 69. By Mikkel Kamstrup Erlandsen
-
Broaden the range of database errors from Xapian we catch for rebuilding the FTS index
- 68. By Mikkel Kamstrup Erlandsen
-
Fix bug "Can't recover from FTS index corruption". In the unlikely event that the FTS index was corrupted we'd end up in some undetermined state. Now catch a DatabaseCorrupt
Error and dutifully rebuild the index. - 67. By Mikkel Kamstrup Erlandsen
-
Fix bug "fts can SIGSEGV ZG during reindex". This was caused by searching while rebuilding the index. The Xapian API is not thread safe in any shape or form so protect all read and write access with a lock.
- 66. By Mikkel Kamstrup Erlandsen
-
Release fts-0.0.11
Fix infinite loop: the idle handler checking the index state could return True causing it to run continuously
Fix race condition: During index validation we could start a write up with set_metadata(
"cjk_ngram" , "1") while the worker thread was also writing to the index. 1) There was no reason to set this so dropped that line, and 2) we don't start the worker until after we've validated the index now
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:zeitgeist-extensions