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
F18364753: D21107.id50278.diff
Wed, Aug 27, 7:47 PM
F18364062: D21107.id50278.diff
Wed, Aug 27, 6:07 PM
F18363295: D21107.id50271.diff
Wed, Aug 27, 4:15 PM
F18363273: D21107.id.diff
Wed, Aug 27, 4:13 PM
F18363194: D21107.diff
Wed, Aug 27, 4:01 PM
F18363077: D21107.diff
Wed, Aug 27, 3:39 PM
F18113790: D21107.id50278.diff
Wed, Aug 13, 3:03 AM
F18112629: D21107.id50271.diff
Tue, Aug 12, 7:12 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.