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
F15730082: D18487.id.diff
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
Unknown Object (File)
Apr 24 2025, 1:27 PM
Unknown Object (File)
Apr 17 2025, 9:21 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.