From 051e1e8b69b341bcf3802bba28a7b51b5a05de8f Mon Sep 17 00:00:00 2001 From: hustcc Date: Fri, 10 Jul 2026 21:37:44 +0800 Subject: [PATCH] docs: fix typo of readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f84d238..7d72e54 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ await ctx.close(); | `readOnly` | `boolean` | `false` | Open existing `.zvec` files only. In read-only mode, missing libraries are not created and `load()` writes throw. | | `basePath` | `string` | `process.cwd()` | Base path for resolving document IDs. Set for cross-machine consistent IDs. | | `onProgress` | `(phase, detail) => void` | — | Progress callback for `load()` phases: `'load'` → `'embed'` → `'insert'`. | -| queryExpansion | QueryExpansionOptions | false | false | Query expansion with user-provided synonym map. false disables. Without synonyms, expansion is a no-op. | +| `queryExpansion` | `QueryExpansionOptions` | `false` | Query expansion with user-provided synonym map. false disables. Without synonyms, expansion is a no-op. | | `ftsFields` | `string[]` | `['content']` | Fields to index for Full Text Search in hybrid mode | | `ftsFieldWeights` | `Record` | `{ content: 1 }` | Per-field boost weights for FTS text path. Higher = more influence. | | `rankConstant` | `number` | `60` | RRF rank constant for hybrid search fusion. Lower = "winner-takes-all", higher = more even. |