SearchTreeOptionsinterface

{
	readonly limit?: number | undefined;
	readonly filter?: Query | undefined;
}
PropertyType
.limitnumber
Maximum number of results to return (defaults to 20). readonly
.filterQuery
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().