open-brainy/tests/unit/brainy
David Snelling 4adba1b254 feat: add match visibility and semantic highlighting to hybrid search
- Add textMatches, textScore, semanticScore, matchSource to search results
- Add highlight() method for zero-config text + semantic highlighting
- Increase word indexing limit to 5000 (handles articles/chapters)
- Optimize findMatchingWords() with O(1) fast path for semantic-only results
- Add production safety limits (500 chunks for highlight)
- Add comprehensive tests for new features (35 tests)
- Update docs with match visibility and highlight() API
2026-01-26 17:16:18 -08:00
..
add.test.ts feat: brain.get() metadata-only optimization - Phase 2 (testing) 2025-11-18 15:41:57 -08:00
batch-operations.test.ts test: increase timing threshold for flaky updateMany test 2026-01-07 10:44:59 -08:00
counts-by-type-fix.test.ts fix(counts): counts.byType({ excludeVFS: true }) now returns correct type counts 2025-11-26 12:07:53 -08:00
delete.test.ts fix: resolve 13 neural test failures (C++ regex, location patterns, test assertions) 2025-10-30 15:46:22 -07:00
find.test.ts fix: resolve 19 critical test failures for production readiness 2025-10-09 16:58:53 -07:00
get.test.ts feat: brain.get() metadata-only optimization - Phase 2 (testing) 2025-11-18 15:41:57 -08:00
hybrid-search.test.ts feat: add match visibility and semantic highlighting to hybrid search 2026-01-26 17:16:18 -08:00
relate-duplicate-optimization.test.ts feat: add v5.8.0 features - transactions, pagination, and comprehensive docs 2025-11-14 10:26:23 -08:00
relate.test.ts test: skip flaky concurrent relationship test (race condition in duplicate detection) 2025-11-11 14:19:46 -08:00
update.test.ts fix: resolve update() v5.11.1 regression + skip flaky tests for release 2026-01-05 16:56:35 -08:00