-
Notifications
You must be signed in to change notification settings - Fork 18
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
fix(gravsearch): Prevent duplicate results #1626
Merged
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
3dbb59c
feat(api-v2): Refactor to use ForbiddenResource consistently (ongoing).
b6d3cf2
Merge branch 'develop' into wip/1543-forbidden-resource
49f4214
test: Fix tests.
9171746
feat(api-v2): Use ForbiddenResource consistently (ongoing).
15c3be5
Merge branch 'develop' into wip/1543-forbidden-resource
cae954d
refactor(api-v2): Move ForbiddenResource from triplestore to app.
d6c8fc0
refactor(test): Simplify code.
7f1d91f
refactor(api-v2): Simplify response processing (ongoing).
623630c
Merge branch 'develop' into wip/1543-forbidden-resource
5d1b28e
feat(api-v2): Add ForbiddenValue (ongoing).
e86b20b
feat(api-v2): Remove ForbiddenResource (ongoing).
c25808e
test(api-v2): Fix compile error.
d8d1c38
feat(api-v2): Get rid of ForbiddenResource (ongoing).
da23fc6
feat(api-v2): Remove ForbiddenResource (ongoing).
baeff8a
feat(api-v2): Remove ForbiddenResource (ongoing).
144863d
feat(api-v2): Remove ForbiddenResource (ongoing).
f3ed00c
refactor(api-v2): Move checkResourceIris into ReadResourcesSequenceV2.
5de2b47
style(api-v2): Clean up a few things.
ba61578
docs(gravsearch): Update docs.
8a0c8c6
Merge branch 'develop' into wip/1543-forbidden-resource
ce602dc
initial commit of a possible test case
loicjaouen 9499f85
add the count route
loicjaouen 62d843c
Merge branch 'develop' into wip/1543-forbidden-resource
81ec5c9
Merge branch 'develop' into wip/1588_duplicates
06a2c41
Merge branch 'develop' into wip/1588_duplicates
d56811c
Merge branch 'develop' into wip/1543-forbidden-resource
01e1eef
Merge branch 'wip/1543-forbidden-resource' into wip/1588_duplicates
85541cd
refactor(gravsearch): Don't query values that the user didn't request…
40fa184
test(gravsearch): Add client test data with paging.
926c942
refactor(gravsearch): Don't query values that the user didn't request…
b7a132e
refactor(gravsearch): Don't query values that the user didn't request.
6bf6d43
fix(gravsearch): Merge duplicate rows in prequery results.
d6a0f3a
refactor(gravsearch): Get rid of some vars, make things more functional.
3934254
style(gravesearch): Rename method.
717da58
style(gravsearch): Fix comment.
b46c4f0
docs(gravsearch): Update design docs.
5232359
Merge branch 'wip/1543-forbidden-resource' into wip/1588_duplicates
8617571
docs(gravsearch): Update design docs.
8e81c67
feat(upgrade): Increment knora-base version.
c3b19cd
Merge branch 'wip/1543-forbidden-resource' into wip/1588_duplicates
9794698
test(ResourcesResponderV2): Increase timeouts.
8993daa
Merge branch 'develop' into wip/1588_duplicates
3db3a82
Merge branch 'develop' into wip/1588_duplicates
c7b9703
fix(gravsearch): Handle empty GROUP_CONCAT values resulting from unbo…
9f38418
fix(gravsearch): Ignore empty strings in GROUP_CONCAT results.
8d4fdfb
style(gravsearch): Improve comments.
06be757
refactor(gravsearch): Clarify code after review.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am unaware of the construct
(GROUP_CONCAT(DISTINCT(IF(BOUND(?book), STR(?book), "")); SEPARATOR='') AS ?book__Concat)
(82f8a55). I presume this means that if the variable is bound, an IRI is returned, otherwise an empty string.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. This is explained in the paragraph starting on line 211: