Skip to content

Conversation

@dluc
Copy link
Collaborator

@dluc dluc commented Dec 2, 2025

Summary

Fixes known issue 4: Index ID was hardcoded as "fts-main" instead of being configurable.

Changes

  • src/Core/Search/SearchConstants.cs: Added DefaultFtsIndexId constant
  • src/Core/Search/NodeSearchService.cs: Added indexId constructor parameter with default value for backward compatibility
  • tests/Core.Tests/Search/NodeSearchServiceIndexIdTests.cs: Added 4 unit tests
  • KNOWN-ISSUES.md: Removed resolved issue 4

Test plan

  • All 524 tests pass (310 Core + 214 Main)
  • Zero skipped tests
  • Code coverage at 83.85% (above 80% threshold)
  • build.sh passes with 0 warnings
  • format.sh passes
  • coverage.sh passes

Backward Compatibility

Fully backward compatible - the constructor parameter has a default value matching the previous hardcoded behavior.

Index ID is no longer hardcoded as "fts-main". It can now be passed
as a constructor parameter with backward-compatible default.

Changes:
- Add DefaultFtsIndexId constant to SearchConstants
- Add indexId parameter to NodeSearchService constructor
- Add 4 unit tests for index ID configuration
- Remove issue #4 from KNOWN-ISSUES.md
@dluc dluc merged commit 0d5256d into main Dec 2, 2025
7 checks passed
@dluc dluc deleted the fix-known-issue-4 branch December 2, 2025 11:45
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