Documentation
¶
Overview ¶
Package search combines fuzzy name search with full-text description search
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombinedSearch ¶
func CombinedSearch(query string, projects []model.Project, historyScores map[string]int, cacheDir string) ([]index.CombinedMatch, error)
CombinedSearch performs unified search using Bleve across project names, paths, and descriptions For empty queries, returns all projects sorted by history If descIndex is provided, it will be used; otherwise a new index will be opened
func CombinedSearchWithIndex ¶
func CombinedSearchWithIndex(query string, projects []model.Project, historyScores map[string]int, cacheDir string, descIndex *index.DescriptionIndex) ([]index.CombinedMatch, error)
CombinedSearchWithIndex is like CombinedSearch but accepts an already-open index
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.