document

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

@index Pure search-document content construction from graph nodes and annotations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildContent

func BuildContent(node graph.Node, annotations map[uint]*graph.Annotation) string

BuildContent assembles the text indexed for one node's search document. @intent combine symbol names, path/language tokens, and annotation evidence without persistence concerns.

Types

type Maintenance

type Maintenance interface {
	RefreshDocuments(ctx context.Context) (int, error)
	RebuildIndex(ctx context.Context) error
}

Maintenance refreshes persisted search documents and the bound full-text index. @intent let inbound orchestration trigger one complete search rebuild without receiving database/backend handles.

Jump to

Keyboard shortcuts

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