Number of leaves to search. 0 lets the server choose. Defaults to 1.
pre_reordering_num_neighbors
int
Number of neighbors to return before reordering. -1 (the default) uses the server default. Must be an integer >= -1; the server enforces its own upper bound.
pct_leaves_to_search
Optional[float]
Percentage (0-100, fractional values allowed) of leaves to search. When set, it is sent in addition to num_leaves_to_search; the server uses the percentage and falls back to num_leaves_to_search if the percentage resolves to zero leaves. Defaults to None (not sent).
Methods
to_parameter
to_parameter()-> list[str]
Convert index attributes to list of configurations.
Number of leaves to search. 0 lets the server choose. Defaults to 1.
pre_reordering_num_neighbors
int
Number of neighbors to return before reordering. -1 (the default) uses the server default. Must be an integer >= -1; the server enforces its own upper bound.
pct_leaves_to_search
Optional[float]
Percentage (0-100, fractional values allowed) of leaves to search. When set, it is sent in addition to num_leaves_to_search; the server uses the percentage and falls back to num_leaves_to_search if the percentage resolves to zero leaves. Defaults to None (not sent).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-29 UTC."],[],[]]