Page MenuHomeSoftware Heritage

max_matching_nodes is applied before filtering for node type
Closed, MigratedEdits Locked

Description

https://archive.softwareheritage.org/api/1/graph/leaves/swh:1:cnt:76e393d3b365f12e177cdb85917567dbf438ef05/?direction=backward returns:

swh:1:dir:9da26747f49993fb988a6c0838c65920393e6d27
swh:1:ori:1012289e1e733305dc09a977a2ffb34f88bb46f6
swh:1:ori:76b9922c3df69d7aa25ad0a6099b64d1c5f30def
swh:1:ori:3ba45d1ab3d1be8bcda0af277b7e73c20ffec3da
swh:1:ori:4f10fc92fdb9ddf14e6fe7f6a7e55bd567e4e491

https://archive.softwareheritage.org/api/1/graph/leaves/swh:1:cnt:76e393d3b365f12e177cdb85917567dbf438ef05/?direction=backward&max_matching_nodes=1&return_types=ori returns no result (it should return swh:1:ori:1012289e1e733305dc09a977a2ffb34f88bb46f6)

Event Timeline