imbajin commented on code in PR #569:
URL: https://github.com/apache/hugegraph-doc/pull/569#discussion_r4656759444
##########
content/en/docs/clients/restful-api/traverser.md:
##########
@@ -2081,7 +2081,8 @@ Finds the intersection of destination vertices that
satisfy the specified condit
- skip_degree: Sets the minimum number of edges to discard
super vertices during the query process. If the number of adjacent edges for a
vertex is greater than skip_degree, the vertex is completely discarded.
Optional. If enabled, it must satisfy the constraint `skip_degree >=
max_degree`. Default is 0 (not enabled), which means no vertices are skipped.
Note: When this configuration is enabled, the traversal process will attempt to
visit skip_degree edges of a vertex, not just max_degree edges. This incurs
additional traversal overhead and may significantly impact query performance.
Please make sure you understand it before enabling.
- capacity: Maximum number of vertices to be visited during the traversal
process. Optional. Default is 10000000.
-- limit: Maximum number of paths to be returned. Optional. Default is 10.
+- limit: Maximum number of distinct crosspoints to return. Optional, default
`10`; `-1` means no limit.
Review Comment:
**Qualify the crosspoint limit for Server 1.7.0**
Server 1.7.0 truncates an oversized intersection with `subList(0, size -
1)`, rather than using `limit`. For example, five distinct common endpoints
with `limit=1` can yield four crosspoints. Current master fixes this, but the
unqualified guarantee misleads 1.7.0 users. Please describe the older behavior
and version boundary in both languages.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]