SearchTreeOptionsinterface
{
readonly limit?: number | undefined;
readonly filter?: Query | undefined;
}| Property | Type | |
|---|---|---|
.limit | number | Maximum number of results to return (defaults to 20). readonly |
.filter | Query | Optional Query narrowing the candidates by any prop before ranking — the same shape queryItems() takes.- e.g. { kind: "method" } to only rank methods, or { source: "…" } to constrain by source. readonly |
Options for searchTree().