APM-84 | Add spillOverThreshold*
options to Cursor API DocuBlock
#17700
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.
Adds missing AQL query options
Also fixed
maxNumberOfPlans
(was incorrectly documented asmaxPlans
).Tested with
curl -d '{"query":"FOR d2 IN c2 FOR d3 IN c3 FOR d1 IN c1 RETURN 1","options":{"maxNumberOfPlans":1,"profile":2}}' http://localhost:8529/_api/cursor | jq '.extra.plan.nodes[] | select(.type == "IndexNode") | .collection'
(original order c2-c3-c1 with a single plan, optimal plan re-orders to c1-c2-c3,maxPlans
has no such effect).