diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index 6243170a6b..1c85d7693a 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -62,6 +62,14 @@ const config: Config = { /^user-guide\/skills\/bundled\//, /^user-guide\/skills\/optional\//, ], + // Exact-or-prefix matching only (default is edit distance 1). + // With fuzzy distance 1, "keet" matched "meetings"/"keep" (one + // edit away after stemming), and multi-word typo queries against + // our ~14 MB index could stall the single-threaded search worker + // for 25s+, backing up every subsequent keystroke's search until + // the bar appeared dead. Distance 0 keeps "word or its extension" + // semantics (keet -> keet*) and removes the pathological scans. + fuzzyMatchingDistance: 0, }), ], ],