Page MenuHomePhabricator

Make Ferret indexing more robust (UTF8, exception handling)
ClosedPublic

Authored by epriestley on Aug 28 2017, 10:41 PM.
Tags
None
Referenced Files
F13109552: D18487.diff
Sun, Apr 28, 6:43 AM
Unknown Object (File)
Thu, Apr 25, 1:44 AM
Unknown Object (File)
Fri, Apr 19, 6:46 PM
Unknown Object (File)
Fri, Apr 19, 5:16 AM
Unknown Object (File)
Fri, Apr 19, 2:28 AM
Unknown Object (File)
Sat, Apr 13, 7:14 AM
Unknown Object (File)
Mar 27 2024, 12:11 AM
Unknown Object (File)
Feb 3 2024, 4:34 PM
Subscribers
None

Details

Summary

Ref T12819. Two minor improvements from live data:

  • Tokenize in a UTF8-aware way.
  • When one document fails to index, kill the transaction explicitly (rather than leaving it hanging) so we don't cause other failures later.
Test Plan

Created some UTF8 documents locally, indexed them, got clean results.

Diff Detail

Repository
rP Phabricator
Branch
ferret2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 18196
Build 24467: Run Core Tests
Build 24466: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Aug 28 2017, 10:49 PM
This revision was automatically updated to reflect the committed changes.