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
F19023000: D21107.diff
Nov 23 2025, 11:06 PM
F18822346: D21107.id.diff
Oct 23 2025, 6:04 AM
F18821450: D21107.diff
Oct 22 2025, 11:14 PM
F18811175: D21107.id50278.diff
Oct 20 2025, 1:33 AM
F18761965: D21107.id50271.diff
Oct 6 2025, 5:02 PM
F18746545: D21107.diff
Oct 3 2025, 12:47 PM
F18737388: D21107.id50278.diff
Oct 1 2025, 10:25 AM
F18704373: D21107.id.diff
Sep 28 2025, 7:21 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
Branch
ferret2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24089
Build 33165: Run Core Tests
Build 33164: arc lint + arc unit

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.