gengliangwang commented on code in PR #56080:
URL: https://github.com/apache/spark/pull/56080#discussion_r3295977172


##########
docs/_config.yml:
##########
@@ -25,12 +25,10 @@ SCALA_BINARY_VERSION: "2.13"
 SCALA_VERSION: "2.13.18"
 SPARK_ISSUE_TRACKER_URL: https://issues.apache.org/jira/browse/SPARK
 SPARK_GITHUB_URL: https://github.com/apache/spark
-# Before a new release, we should:
-#   1. update the `version` array for the new Spark documentation
-#      on 
https://github.com/algolia/docsearch-configs/blob/master/configs/apache_spark.json.
-#   2. update the value of `facetFilters.version` in `algoliaOptions` on the 
new release branch.
-# Otherwise, after release, the search results are always based on the latest 
documentation
-# (https://spark.apache.org/docs/latest/) even when visiting the documentation 
of previous releases.
+# The DocSearch index is maintained by the Algolia crawler at 
https://crawler.algolia.com/.
+# The crawler indexes only https://spark.apache.org/docs/latest/ and tags 
every page with
+# `version:latest`. All release branches share this single index, so 
`facetFilters` stays
+# pinned to `version:latest` everywhere and no per-release update is required.

Review Comment:
   For the released pages, we will just keep using the indexes for those doc.
   For new releases(4.1.3/4.2.0), we will start using the latest index only. 
Otherwise, release manager may forget to create new index and break the search 
function.



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