Page MenuHomePhabricator

Reduce the number of magic strings in the Ferret implementation
ClosedPublic

Authored by epriestley on Sep 5 2017, 4:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 5, 7:41 AM
Unknown Object (File)
Jul 2 2026, 10:12 AM
Unknown Object (File)
Jul 2 2026, 10:07 AM
Unknown Object (File)
Jul 2 2026, 10:07 AM
Unknown Object (File)
Jul 2 2026, 9:06 AM
Unknown Object (File)
Jun 30 2026, 4:03 AM
Unknown Object (File)
Jun 25 2026, 6:45 AM
Unknown Object (File)
Jun 25 2026, 6:25 AM
Subscribers
None

Details

Summary

Ref T12819. Push more of the magic ' ' stuff into the engine and simplify calls to ngram construction.

Also fixes a bug where a task with title "apple banana" and description "cherry doughnut" could match query "banana cherry" by separating separate term segments with newlines instead of spaces.

Test Plan
  • Indexed some objects.
  • Searched (term, substring, quoted terms).
  • Viewed index in database.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable