Skip to content

Conversation

@rockfordlhotka
Copy link
Member

  • Start normalizing the semantic and word match results into a single result set.
  • Improve search with multi-word phrase handling
  • Add shebang line

Enhanced `CslaCodeTool` to support multi-word phrase searches:
- Replaced `searchWords` with `searchTerms` to include both single words and two-word phrases.
- Added regex-based matching for accurate detection of phrases.
- Introduced weighting to prioritize multi-word phrases over single words.
- Refactored `CountWordOccurrences` to handle phrases and ensure word boundary matching.
- Improved logging to provide detailed insights into extracted terms and search results.

These changes enable more comprehensive and context-aware search functionality.
@rockfordlhotka rockfordlhotka merged commit 44e1834 into main Oct 5, 2025
1 check passed
@rockfordlhotka rockfordlhotka deleted the normalize-scores branch October 5, 2025 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants