Page MenuHomePhabricator

Remove Ferret function aliases and overrides
ClosedPublic

Authored by epriestley on Apr 16 2020, 5:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 21, 10:30 AM
Unknown Object (File)
Wed, Jul 17, 9:58 AM
Unknown Object (File)
Sat, Jul 13, 7:42 AM
Unknown Object (File)
Wed, Jul 10, 10:18 PM
Unknown Object (File)
Mon, Jul 8, 1:30 PM
Unknown Object (File)
Thu, Jul 4, 8:12 AM
Unknown Object (File)
Sat, Jun 29, 3:02 AM
Unknown Object (File)
Jun 25 2024, 9:53 PM
Subscribers
None

Details

Summary

Ref T13511. Ferret functions currently define "aliases", and some applications override the default aliases.

This probably isn't really the right model, since it means the available function aliases in global search depend on the types of documents you're searching for. This isn't fundamentally unworkable but is kind of weird.

Regardless, these don't actually work. Searching for "description:x" is a syntax error.

Since they don't work, it's a good bet no one is relying on them. Just get rid of them until there's a clearer argument for the feature.

Test Plan

Grepped for "getFunctionMap", got no other hits. Ran some queries with the alias functions, got syntax errors.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Apr 16 2020, 8:40 PM
This revision was automatically updated to reflect the committed changes.