json

package
v0.0.0-...-b199f39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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.

func JSONServer

func JSONServer(searcher zoekt.Searcher) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL