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
Unknown Object (File)
Mon, Dec 16, 8:50 AM
Unknown Object (File)
Fri, Nov 22, 7:33 AM
Unknown Object (File)
Tue, Nov 19, 4:16 PM
Unknown Object (File)
Oct 22 2024, 6:22 AM
Unknown Object (File)
Oct 19 2024, 1:34 AM
Unknown Object (File)
Oct 8 2024, 12:55 AM
Unknown Object (File)
Sep 30 2024, 2:26 AM
Unknown Object (File)
Sep 21 2024, 6:58 AM
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.