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
F15867915: D18487.diff
Sat, May 31, 9:54 AM
F15863514: D18487.id44410.diff
Sat, May 31, 8:25 AM
Unknown Object (File)
Thu, May 29, 1:21 PM
Unknown Object (File)
Wed, May 28, 2:26 PM
Unknown Object (File)
Tue, May 13, 8:21 PM
Unknown Object (File)
Fri, May 9, 1:32 PM
Unknown Object (File)
Apr 28 2025, 4:35 PM
Unknown Object (File)
Apr 25 2025, 1:22 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.