HomePhorge

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

Description

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

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.

Maniphest Tasks: T13509

Differential Revision: https://secure.phabricator.com/D21107

Details

Provenance
epriestleyAuthored on Apr 14 2020, 8:59 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP5c30a60e305f: Tighten Ferret query parsing of empty tokens and empty functions
Branches
Unknown
Tags
Unknown

Event Timeline