Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateDefaultSearchLimits ¶
func CalculateDefaultSearchLimits(ctx context.Context, q query.Q, searcher zoekt.Searcher, opts *zoekt.SearchOptions) error
Calculates and sets heuristic defaults on opts for various upper bounds on the number of matches when searching, if none are already specified. The defaults are derived from opts.MaxDocDisplayCount, so if none is set, there is no calculation to do.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.