-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
remove reflexive edges from results #899
Comments
Actually, maybe this isn't enough. In this case, how to specify where I want the duplicates removed from - it's not a simple self referential edge, and never would be in a the movie dataset because it's quite a few edges from an actor to their co-actors. The most general mechanism seems to be to be able to accumulate variables specific to the current branch in the query, rather than globally. In this case, it looks like both global and local are required. |
We don't need a direct self-referential edge. Providing the directive would mean that a uid cannot be its own child at any level.
This might be too expensive given our design I feel. |
What if uid was assigned to a value variable and then used in filters?
This syntax is accepted at the moment, but I guess after following other edges, it's no longer the correct context to use |
@MichaelJCompton That might work in case of a single starting node but wont work as desired for multiple starting nodes as you would want to only remove the starting node from a particular tree path. |
This is now supported and has been merged to master. |
Add a directive to remove self edges from results. For example, in the following query, to remove actors as co actors of themselves.
The text was updated successfully, but these errors were encountered: