From 7ad558dfefab739093e031bad316a3d1dbbdc880 Mon Sep 17 00:00:00 2001 From: Roo Code Date: Fri, 1 Aug 2025 01:15:59 +0000 Subject: [PATCH] fix: improve search functionality for period-prefixed terms like .rooignore - Remove default stemmer to allow exact matches - Remove stop word filter to allow searching for common words - Increase search result limits from 8 to 20 - Increase search result context length from 50 to 100 characters This should fix the issue where searching for terms like ".rooignore" or ".gitignore" returns no results. Fixes RooCodeInc/Roo-Code#6508 --- docusaurus.config.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index a3082d81..de510f83 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -76,6 +76,14 @@ const config: Config = { highlightSearchTermsOnTargetPage: true, explicitSearchResultPath: true, docsRouteBasePath: "/", + // Remove default stemmer to allow exact matches + removeDefaultStemmer: true, + // Remove stop word filter to allow searching for common words + removeDefaultStopWordFilter: true, + // Increase search result limits to show more results + searchResultLimits: 20, + // Increase context length to show more content + searchResultContextMaxLength: 100, }, ], ],