Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement negation for non-existing nodes #200

Merged
merged 29 commits into from
Sep 16, 2021

Conversation

thomaskrause
Copy link
Member

@thomaskrause thomaskrause commented Sep 13, 2021

This implements #187 but does not implement the more complex structures (as described in #199) yet. Also note that we changed form a prefix ? to a suffix, to make it easier to implement optional parts of the query term in the AQL parser later on when needed.

We implement these negated operators with non-existent operands as unary operators (with the existing node as the one that is filtered using the non-existent expression). There is also some refactoring and renaming to make it easier to use the value filter functions outside the conjunction code (in our operator) to avoid duplicated implementation of the node search logic.

@thomaskrause thomaskrause marked this pull request as ready for review September 15, 2021 06:49
@thomaskrause
Copy link
Member Author

bors r+

@bors bors bot merged commit bab4cc3 into main Sep 16, 2021
@thomaskrause thomaskrause deleted the feature/negation-without-existence branch September 16, 2021 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Operator negation in AQL - part 2: negation without existence assumption
1 participant