Versions in this module Expand all Collapse all v0 v0.0.3 Mar 26, 2026 v0.0.1 Mar 24, 2026 Changes in this version + const DefaultCacheEnabled + const DefaultChunkOverlap + const DefaultChunkTokens + const DefaultHybridCandidateMultiple + const DefaultMaxResults + const DefaultMemorySource + const DefaultMinScore + const DefaultSessionDeltaBytes + const DefaultSessionDeltaMessages + const DefaultWatchDebounceMs + const UnlimitedCacheEntries + var TokenRE = regexp.MustCompile(`[A-Za-z0-9_]+`) + func BM25RankToScore(rank float64) float64 + func BuildFtsQuery(raw string) string + func HashText(text string) string + type BatchConfig struct + Concurrency int + Enabled bool + PollIntervalMs int + TimeoutMinutes int + Wait bool + type CacheConfig struct + Enabled bool + MaxEntries int + type Chunk struct + EndLine int + Hash string + StartLine int + Text string + func ChunkMarkdown(content string, tokens, overlap int) []Chunk + type ChunkingConfig struct + Overlap int + Tokens int + type ExperimentalConfig struct + SessionMemory bool + type FallbackStatus struct + From string + Reason string + type HybridConfig struct + CandidateMultiplier int + Enabled bool + TextWeight float64 + VectorWeight float64 + type HybridKeywordResult struct + EndLine int + ID string + Path string + Snippet string + Source string + StartLine int + TextScore float64 + type ProviderStatus struct + Fallback *FallbackStatus + Model string + Provider string + type QueryConfig struct + Hybrid HybridConfig + MaxInjectedChars int + MaxResults int + MinScore float64 + type RemoteConfig struct + APIKey string + BaseURL string + Batch BatchConfig + Headers map[string]string + type ResolvedConfig struct + Cache CacheConfig + Chunking ChunkingConfig + Enabled bool + Experimental ExperimentalConfig + ExtraPaths []string + Fallback string + Model string + Provider string + Query QueryConfig + Remote RemoteConfig + Sources []string + Store StoreConfig + Sync SyncConfig + type SearchOptions struct + MaxResults int + MinScore float64 + Mode string + PathPrefix string + SessionKey string + Sources []string + type SearchResult struct + EndLine int + Path string + Score float64 + Snippet string + Source string + StartLine int + type SessionSyncConfig struct + DeltaBytes int + DeltaMessages int + RetentionDays int + type StoreConfig struct + Driver string + Path string + Vector VectorConfig + type SyncConfig struct + IntervalMinutes int + OnSearch bool + OnSessionStart bool + Sessions SessionSyncConfig + Watch bool + WatchDebounceMs int + type VectorConfig struct + Enabled bool + ExtensionPath string