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)
Fri, May 3, 3:11 AM
Unknown Object (File)
Mon, Apr 29, 2:40 PM
Unknown Object (File)
Wed, Apr 24, 10:43 PM
Unknown Object (File)
Sat, Apr 6, 5:17 PM
Unknown Object (File)
Mar 31 2024, 3:27 AM
Unknown Object (File)
Feb 10 2024, 11:23 PM
Unknown Object (File)
Jan 25 2024, 2:16 AM
Unknown Object (File)
Jan 11 2024, 6:52 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.