Summary: Add optional bounds to PropertyFilter and collect them Relation operators (e.g. `<`, `>` ...) should be used to produce scanning the index by a range of values. For that reason, PropertyFilter is extended to store either the equality expression or range bounds. The `AnalyzeFilter` function is extended to look for those operators and see if their top level expression contains a property lookup. If it does, a filter with a bound is generated. Test for property comparison preventing index use Reviewers: florijan, mislav.bradac, buda Reviewed By: florijan Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D529
45 KiB
45 KiB