gengliangwang opened a new pull request, #56080:
URL: https://github.com/apache/spark/pull/56080

   ### What changes were proposed in this pull request?
   
   Drop the per-release Algolia configuration scheme from `docs/_config.yml`:
   - Remove the `algoliaOptions.facetFilters: ["version:latest"]` block.
   - Rewrite the stale comment that instructed release managers to bump 
`version` in the now-defunct `github.com/algolia/docsearch-configs` repo and 
bump `facetFilters.version` on each release branch.
   
   ### Why are the changes needed?
   
   After SPARK-38122 migrated us to the new DocSearch infra managed on 
https://crawler.algolia.com/, the in-repo `facetFilters` is redundant. The 
crawler is configured to crawl only https://spark.apache.org/docs/latest/ and 
tag pages with `version: latest`, so the index always reflects the latest 
release.
   
   Removing the filter and the per-release procedure prevents the search box on 
https://spark.apache.org/docs/latest/ from returning no results whenever a new 
release ships before the legacy `version` array is updated (e.g. 4.1.2).
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   N/A - documentation config only.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (claude-opus-4-7)


-- 
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]

Reply via email to