search

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfiguredProviders

func GetConfiguredProviders() []string

GetConfiguredProviders returns the configured provider names for diagnostics and UI.

func GetProviderMode

func GetProviderMode() string

GetProviderMode returns the current provider mode from environment.

func IsEnabled

func IsEnabled() bool

IsEnabled reports whether any search provider is currently configured.

Types

type Config

type Config = internalsearch.Config

Config configures the shared search service.

type Input

type Input = internalsearch.Input

Input represents a normalized search request for the shared search core.

type Output

type Output = internalsearch.Output

Output represents a normalized search response produced by the shared search core.

func FinalizeOutput

func FinalizeOutput(input Input, output internalproviders.ProviderOutput) Output

FinalizeOutput applies the shared normalization, filtering, dedupe, and ranking used by the core search service so backend callers can stay behaviorally aligned.

type Service

type Service = internalsearch.Service

Service wraps provider discovery and execution behind a stable shared search interface.

func NewService

func NewService() *Service

NewService creates a shared search service using the current environment-driven provider mode.

func NewServiceWithConfig

func NewServiceWithConfig(config *Config) *Service

NewServiceWithConfig creates a shared search service with explicit cache overrides when needed.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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