This is an automated email from the ASF dual-hosted git repository.
gengliang pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.2 by this push:
new 60a70ab [SPARK-38122][DOCS] Update the App Key of DocSearch
60a70ab is described below
commit 60a70ab8fcbafa8db132195198f9f643c5fb66a0
Author: Gengliang Wang <[email protected]>
AuthorDate: Mon Feb 7 13:49:41 2022 +0800
[SPARK-38122][DOCS] Update the App Key of DocSearch
### What changes were proposed in this pull request?
Update the App Key of DocSearch as per the comment
https://github.com/algolia/docsearch-configs/pull/5054#issuecomment-1025483446
### Why are the changes needed?
DocSearch uses new infra now:
https://docsearch.algolia.com/docs/migrating-from-legacy/
The new version allows us to manage indexes, but we have to update the App
Key and App id in configuration to make it work.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Manual verified in local setup.
Closes #35411 from gengliangwang/updateDocSearch.
Authored-by: Gengliang Wang <[email protected]>
Signed-off-by: Gengliang Wang <[email protected]>
(cherry picked from commit 26138a4a3a0968885de5316108f0d1164139e357)
Signed-off-by: Gengliang Wang <[email protected]>
---
docs/_config.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/_config.yml b/docs/_config.yml
index 4fea714..a764b7b 100644
--- a/docs/_config.yml
+++ b/docs/_config.yml
@@ -34,7 +34,8 @@ SPARK_GITHUB_URL: https://github.com/apache/spark
# (https://spark.apache.org/docs/latest/) even when visiting the documentation
of previous releases.
DOCSEARCH_SCRIPT: |
docsearch({
- apiKey: 'b18ca3732c502995563043aa17bc6ecb',
+ apiKey: 'd62f962a82bc9abb53471cb7b89da35e',
+ appId: 'RAI69RXRSK',
indexName: 'apache_spark',
inputSelector: '#docsearch-input',
enhancedSearchInput: true,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]