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)
Sun, Jan 5, 2:30 PM
Unknown Object (File)
Sat, Dec 28, 5:05 PM
Unknown Object (File)
Thu, Dec 26, 5:49 PM
Unknown Object (File)
Dec 9 2024, 4:59 PM
Unknown Object (File)
Dec 8 2024, 7:40 PM
Unknown Object (File)
Dec 8 2024, 12:33 AM
Unknown Object (File)
Dec 5 2024, 8:33 PM
Unknown Object (File)
Nov 28 2024, 8:47 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.