-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementMinor improvements to existing functionalityMinor improvements to existing functionalityresearchInvestigation, spikes, or proof-of-concept workInvestigation, spikes, or proof-of-concept worksmartem-devtools:webuiDeveloper dashboard web interfaceDeveloper dashboard web interface
Description
Problem
Search results appear overly inclusive, returning too many loosely related matches.
Areas to Investigate
MiniSearch Configuration
- Fuzzy matching: Currently
fuzzy: 0.2(~20% variance). Reduce to0.1or disable. - Prefix matching:
prefix: truematches partial words. May be too broad. - Field boosting: Weight title matches higher than body content.
- Minimum score: Filter out low-confidence matches below threshold.
GitHub Search
- Narrow queries with qualifiers like
in:title - Require exact phrase matching
Proposed Solution
Add tuning parameters to webui-config.ts to make these adjustable:
searchTuning: {
fuzzy: 0.1,
prefix: false,
minScore: 0.5,
fieldBoosts: { title: 3, content: 1 }
}Request for Feedback
Need example queries that demonstrate over-inclusivity to identify root cause.
From PR #124 review comment (Item 13)
Metadata
Metadata
Assignees
Labels
enhancementMinor improvements to existing functionalityMinor improvements to existing functionalityresearchInvestigation, spikes, or proof-of-concept workInvestigation, spikes, or proof-of-concept worksmartem-devtools:webuiDeveloper dashboard web interfaceDeveloper dashboard web interface