search

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheAndUpdateResults added in v0.10.0

func CacheAndUpdateResults(
	query string, options engines.Options, db cache.DB,
	ttlConf config.TTL, categoryConf config.Category, settings map[engines.Name]config.Settings,
	results []result.Result, foundInDB bool,
	salt string,
)

func PerformSearch

func PerformSearch(query string, options engines.Options, categoryConf config.Category, settings map[engines.Name]config.Settings, salt string) []result.Result
func Search(query string, options engines.Options, db cache.DB, categoryConf config.Category, settings map[engines.Name]config.Settings, salt string) ([]result.Result, bool)

Types

type Searcher added in v0.14.1

type Searcher interface {
	Search(ctx context.Context, query string, relay *bucket.Relay, options engines.Options, settings config.Settings, timings config.CategoryTimings, salt string, nEnabledEngines int) []error
}

Jump to

Keyboard shortcuts

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