Ref T13509. Now that the compiler can parse these queries, actually implement them.
These are fairly easy to implement:
- For present, just "JOIN". If it works, the field is present.
- For absent, we "LEFT JOIN" and then "WHERE any_column IS NULL".
Differential D21110
Implement the "present" and "absent" operators in the Ferret execution engine epriestley on Apr 14 2020, 5:22 PM. Authored by Tags None Referenced Files
Subscribers None
Details Ref T13509. Now that the compiler can parse these queries, actually implement them. These are fairly easy to implement:
Searched for various documents with and without fields present, got sensible results in Maniphest. For example, "body:-" finds tasks with no body, "body:- duck" finds tasks with no body and "duck" elsewhere in the content, and so on.
Diff Detail
|