Page MenuHomePhabricator

Add "absent" and "present" field operators to the Ferret query compiler
ClosedPublic

Authored by epriestley on Apr 14 2020, 4:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 19, 6:24 PM
Unknown Object (File)
Tue, Jun 17, 6:18 AM
Unknown Object (File)
Mon, Jun 16, 11:12 PM
Unknown Object (File)
May 9 2025, 6:21 PM
Unknown Object (File)
May 9 2025, 6:17 PM
Unknown Object (File)
May 8 2025, 2:51 AM
Unknown Object (File)
Apr 9 2025, 5:09 PM
Unknown Object (File)
Apr 8 2025, 10:15 PM
Subscribers
None

Details

Summary

Ref T13509. Parse "xyz:-" as "xyz is absent" and "xyz:~" as "xyz is present". These are new operators which the compiler emits separately from "not" and "substring".

Test Plan

Added unit tests, ran unit tests.

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 14 2020, 5:47 PM
This revision was automatically updated to reflect the committed changes.