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
F13107417: D18534.diff
Sat, Apr 27, 11:03 PM
Unknown Object (File)
Thu, Apr 25, 3:41 AM
Unknown Object (File)
Sat, Apr 20, 12:44 PM
Unknown Object (File)
Fri, Apr 19, 6:48 PM
Unknown Object (File)
Thu, Apr 11, 10:50 AM
Unknown Object (File)
Mar 28 2024, 9:44 PM
Unknown Object (File)
Mar 27 2024, 12:13 AM
Unknown Object (File)
Mar 20 2024, 6:32 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