Repository navigation
Conversation
- Explain which ranked vertices expand into the next layer. - Distinguish the global budget from each layer's retention limit. - Describe the resolved-vertex limit for multi-node shortest paths.
imbajin
left a comment
There was a problem hiding this comment.
Score: 6.5/10 · Confidence: high
Blocking: yes
Summary
The new traversal guarantees describe a server change that has not landed in Apache HugeGraph, affecting ranking and input resource expectations.
Evidence
Apache master passes all new NeighborRank vertices to the next layer and materializes the entire multi-node input before validation. Fork server PR #396 remains open.
Validation notes
Source and discussion review only; no live server or integration test was run.
|
|
||
| In graph words: to go out from the starting point, get the probability of going to each vertex of each layer. | ||
|
|
||
| The REST endpoint sums all contributions to each candidate before keeping up to 100,000 of the highest-scoring vertices in each layer. |
There was a problem hiding this comment.
Current Apache NeighborRankTraverser accumulates into a bounded rank map and assigns all newVertices to the next layer, so it does not guarantee this full-score selection and restricted expansion. The companion implementation is still open against the fork. Please defer this claim until the equivalent server change ships in Apache, or identify the version that supports it in both languages.
|
|
||
| Finds the shortest paths between pairs of specified vertices. | ||
|
|
||
| The graph lookup must return 2 to 10 starting vertices. With `ids`, only vertices found in the graph count. |
There was a problem hiding this comment.
MultiNodeShortestPathTraverser currently calls IteratorUtils.list(vertices) before checking the count, so it can read the entire lookup rather than stopping at the eleventh vertex. The bounded read is part of the still-open companion change. Please defer or version-scope this resource-bound claim in both languages until the server implementation is available.
Purpose
Keep the Chinese and English REST references aligned with the Server's bounded traversal behavior.
topcontrols the number displayed.Companion Server change
Verification
Compared the documented limits with the Server request handlers and ran the website link check.