searchruntime

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runtime

type Runtime struct {
	ExampleIndex    *resource.ExampleIndex
	RunbookRegistry *runbooks.Registry
	RunbookIndex    *resource.RunbookIndex
	// contains filtered or unexported fields
}

Runtime holds the semantic search indices and embedder.

func Build

func Build(
	log logrus.FieldLogger,
	cfg config.SemanticSearchConfig,
	moduleRegistry *module.Registry,
) (*Runtime, error)

Build creates a new search runtime with example and runbook indices.

func (*Runtime) Close

func (r *Runtime) Close() error

Close releases resources held by the runtime.

Jump to

Keyboard shortcuts

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