1/** 2 * @factory/search — the search layer for AI Software Factory (ARCHITECTURE.md §6). 3 * 4 * Source-first package: `main`/`types` point at `src/index.ts` so apps can 5 * import without a build step (a build is added at Phase 0 completion). 6 * 7 * Contents: 8 * - {@link ./types} — document / query / result / grant-snapshot contracts 9 * - {@link ./chunking} — deterministic content chunker (paragraph + fence aware) 10 * - {@link ./rrf} — reciprocal rank fusion (k = 60) for hybrid search 11 * - {@link ./hybrid} — weighted hybrid fusion (Phase-12 wire point) 12 * - {@link ./embeddings} — embedding provider interface + deterministic stub 13 * - {@link ./queries} — OpenSearch body builders (fulltext / prefix / fuzzy / hybrid + permission filters) 14 * - {@link ./client} — thin OpenSearch client over injectable fetch 15 * - {@link ./indexer} — indexer pipeline helpers (doc expansion + parent de-dup) 16 */ 17 18export * from "./types.js"; 19export * from "./mapping.js"; 20export * from "./chunking.js"; 21export * from "./rrf.js"; 22export * from "./hybrid.js"; 23export * from "./embeddings.js"; 24export * from "./queries.js"; 25export * from "./client.js"; 26export * from "./indexer.js"; 27