qmd/test
Tobi Lutke 839d774a06
feat: redesign SDK search API with unified search() and ExpandedQuery type
Replace three separate search methods (query, search, structuredSearch)
with a single search(options) that accepts either a query string
(auto-expanded) or pre-expanded queries. Add searchLex/searchVector
convenience methods and expandQuery for manual control.

Unify StructuredSubSearch and ExpandedQuery into a single ExpandedQuery
type with { type, query } used throughout the pipeline. Add skipRerank
option to hybridQuery and structuredSearch for fast no-LLM searches.

New SDK surface:
- search({ query, intent, rerank, limit, ... })
- search({ queries: expanded })
- searchLex(query, opts)
- searchVector(query, opts)
- expandQuery(query, { intent })
2026-03-10 11:04:45 -04:00
..
eval-docs Add 6 synthetic evaluation documents 2025-12-21 13:10:35 -04:00
cli.test.ts Merge pull request #228 from amsminn/fix-empty-results-format 2026-03-07 14:25:16 -04:00
collections-config.test.ts fix(test): reset currentIndexName between test files 2026-02-18 15:53:58 -04:00
Containerfile test: restructure container smoke tests for interactive use 2026-02-22 11:09:36 -04:00
eval-bm25.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00
eval-harness.ts Fix qmd embed crash and resolve all TypeScript errors 2025-12-31 13:32:30 -04:00
eval.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00
formatter.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00
intent.test.ts feat: redesign SDK search API with unified search() and ExpandedQuery type 2026-03-10 11:04:45 -04:00
llm.test.ts perf(rerank): cap parallelism, deduplicate chunks, cache by content 2026-03-07 15:57:36 -04:00
mcp.test.ts feat: redesign SDK search API with unified search() and ExpandedQuery type 2026-03-10 11:04:45 -04:00
multi-collection-filter.test.ts refactor: replace bash wrapper with standard #!/usr/bin/env node shebang 2026-02-22 11:09:36 -04:00
rrf-trace.test.ts feat(query): add --explain score traces for hybrid search 2026-03-07 14:35:10 -04:00
sdk.test.ts feat: redesign SDK search API with unified search() and ExpandedQuery type 2026-03-10 11:04:45 -04:00
smoke-install.sh test: restructure container smoke tests for interactive use 2026-02-22 11:09:36 -04:00
store-paths.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00
store.helpers.unit.test.ts fix(store): handle emoji-only filenames in handelize (#302) 2026-03-06 14:24:24 +08:00
store.test.ts feat: redesign SDK search API with unified search() and ExpandedQuery type 2026-03-10 11:04:45 -04:00
structured-search.test.ts feat: redesign SDK search API with unified search() and ExpandedQuery type 2026-03-10 11:04:45 -04:00