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
F13529363: D21107.id50271.diff
Fri, Jul 26, 9:58 PM
Unknown Object (File)
Tue, Jul 23, 1:39 PM
Unknown Object (File)
Mon, Jul 22, 2:14 PM
Unknown Object (File)
Mon, Jul 22, 12:56 PM
Unknown Object (File)
Mon, Jul 22, 12:35 PM
Unknown Object (File)
Mon, Jul 22, 10:42 AM
Unknown Object (File)
Sun, Jul 21, 12:09 PM
Unknown Object (File)
Wed, Jul 17, 12:32 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.