search: boolean-filtered ranked search + 11 tests
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 40s

searchRankTfIdf/searchRankBm25 parse a boolean query, filter docs via evalQuery,
then rank survivors by relevance over the query's leaf terms (queryTerms) — the
filter-then-rank pattern. 225/225.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-06 23:58:37 +00:00
parent cfa68c3db3
commit db2a5dc6ab
7 changed files with 98 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
{
"lang": "search",
"total_passed": 214,
"total_passed": 225,
"total_failed": 0,
"total": 214,
"total": 225,
"suites": [
{"name":"index","passed":18,"failed":0,"total":18},
{"name":"boolean","passed":28,"failed":0,"total":28},
@@ -15,7 +15,8 @@
{"name":"highlight","passed":12,"failed":0,"total":12},
{"name":"stem","passed":18,"failed":0,"total":18},
{"name":"near","passed":9,"failed":0,"total":9},
{"name":"syn","passed":9,"failed":0,"total":9}
{"name":"syn","passed":9,"failed":0,"total":9},
{"name":"rankq","passed":11,"failed":0,"total":11}
],
"generated": "2026-06-06T23:25:35+00:00"
"generated": "2026-06-06T23:58:05+00:00"
}