xxiao2018 opened a new pull request, #4737: URL: https://github.com/apache/doris-website/pull/4737
## Changes - Default unscoped Japanese, Korean, and Russian searches to the latest stable docs. Keep explicit Everywhere and document-version scopes, including bookmarked `ctx=` links. - Omit body-text positions from the Lunr index. The search worker reconstructs positions for returned body hits after ranking. Titles and headings keep their stored positions. ## Validation - Passed 88 search, localization, and publication tests and 42 Chromium cases using production builds of the five-language fixture. - Confirmed the default search fetches only the stable index in Japanese, Korean, and Russian. Selecting Everywhere fetches the other four indexes and preserves the query. - Replayed 65 queries against published 4.x indexes. The result order and scores matched for every query. All 1,380 body hits with previously stored positions retained at least one of those highlights. For 25 Chinese hits, the worker also highlighted matching text inside other words. Estimated compressed index downloads for a cold default search, based on the published index payloads compressed with the same gzip settings on both sides. | Locale | Before | After | Reduction | | --- | ---: | ---: | ---: | | English | 9.07 MB | 6.19 MB | 32% | | Chinese | 9.72 MB | 6.83 MB | 30% | | Japanese | 26.37 MB | 7.26 MB | 72% | | Korean | 22.75 MB | 7.58 MB | 67% | | Russian | 21.23 MB | 7.12 MB | 66% | -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
