Documentation
¶
Overview ¶
Package search provides full-text search across task titles and bodies.
Search is case-insensitive and returns results with match locations and contextual snippets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractBodySnippet ¶
ExtractBodySnippet returns a short snippet of body text around the first match.
Types ¶
type Result ¶
type Result struct {
ID string `json:"id" yaml:"id"`
Title string `json:"title" yaml:"title"`
Status string `json:"status" yaml:"status"`
Priority string `json:"priority" yaml:"priority"`
FilePath string `json:"file_path" yaml:"file_path"`
MatchLocation string `json:"match_location" yaml:"match_location"`
Snippet string `json:"snippet" yaml:"snippet"`
}
Result represents a single search match.
Click to show internal directories.
Click to hide internal directories.