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

Do not retrieve facets when max recurse depth has been reached. #3190

Merged
merged 1 commit into from
Mar 22, 2019

Conversation

martinmr
Copy link
Contributor

@martinmr martinmr commented Mar 22, 2019

Currently, recurse will retrive the facets at max depth, which results
in the facets being present in the results while the node on the other
side of the edge is absent from the result. This change modifies the
logic so that facets are only included if the node to which the edge
connects is included in the results as well.

Fixes #3163


This change is Reviewable

Currently, recurse will retrive the facets at max depth, which results
in the facets being present in the results while the node on the other
side of the edge is absent from the result. This change modifies the
logic so that facets are only included if the node to which the edge
connects is included in the results as well.
@martinmr martinmr requested a review from a team March 22, 2019 00:43
Copy link
Contributor

@manishrjain manishrjain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@martinmr martinmr merged commit e3edcce into master Mar 22, 2019
@martinmr martinmr deleted the martinmr/recurse-facets-depth branch March 22, 2019 01:04
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 19, 2019
…rmodeinc#3190)

Currently, recurse will retrive the facets at max depth, which results
in the facets being present in the results while the node on the other
side of the edge is absent from the result. This change modifies the
logic so that facets are only included if the node to which the edge
connects is included in the results as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants