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
F15584317: D21107.id.diff
Thu, May 8, 2:51 AM
F15484210: D21107.id50271.diff
Wed, Apr 9, 5:09 PM
F15481625: D21107.id50278.diff
Tue, Apr 8, 10:15 PM
F15471615: D21107.id.diff
Apr 5 2025, 6:23 AM
F15470454: D21107.diff
Apr 4 2025, 10:25 PM
F15404434: D21107.id50278.diff
Mar 18 2025, 7:41 AM
Unknown Object (File)
Mar 1 2025, 1:58 AM
Unknown Object (File)
Feb 25 2025, 5:03 AM
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.