Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Add apache-spark versions 3.1.0 and 3.1.1 #3391

Merged
merged 2 commits into from Feb 2, 2021

Conversation

gengliangwang
Copy link
Contributor

Pull request motivation(s)

As the apache spark community are going to release 3.1.1, we should add versions for Spark documentation of different releases.

What is the current behaviour?

If the current behaviour is a bug, please provide all the steps to reproduce and screenshots with context.

What is the expected behaviour?

Supporting version key filtering in https://spark.apache.org/docs

@gengliangwang
Copy link
Contributor Author

cc @shortcuts

@gengliangwang
Copy link
Contributor Author

gengliangwang commented Feb 8, 2021

Hi @shortcuts, I have changed the version to 3.1.1 in apache/spark#31525 already, and we are going to release the new documentation site https://spark.apache.org/docs/3.1.1 soon.
Quick question: how long does it take for the Docsearch to become working after the new site is available?

HyukjinKwon pushed a commit to apache/spark that referenced this pull request Feb 8, 2021
### What changes were proposed in this pull request?

As algolia/docsearch-configs#3391 is merged, This PR changes the facetFilters of Docsearch as 3.1.1.

### Why are the changes needed?

So that the search result of the published Spark site will points to https://spark.apache.org/docs/3.1.1 instead of https://spark.apache.org/docs/latest/.
This is useful for searching the docs of 3.1.1 after more new Spark releases in the future.

### Does this PR introduce _any_ user-facing change?

Yes, the search result of 3.1.1 Spark doc site is based on https://spark.apache.org/docs/3.1.1 instead of https://spark.apache.org/docs/latest/

### How was this patch tested?

Just configuration changes.

Closes #31525 from gengliangwang/changeDocSearchVersion.

Authored-by: Gengliang Wang <gengliang.wang@databricks.com>
Signed-off-by: HyukjinKwon <gurwls223@apache.org>
@shortcuts
Copy link
Member

Hi @gengliangwang,

The crawl has been done right after the merge, so the next crawl should be in ~22 hours.

If it can't wait until then, let me know once it's released!

@gengliangwang
Copy link
Contributor Author

gengliangwang commented Mar 2, 2021

Hi @shortcuts , the Spark 3.1.1 docs is now available:
https://spark.apache.org/docs/3.1.1/
Could you help trigger the crawl?

@shortcuts
Copy link
Member

Hey, I'm not sure why the 3.1.1 didn't get caught on last crawl, a new one has been started, it should be good right after it!

I've also removed the 3.1.0 as it doesn't exists on your website #3679.

@gengliangwang
Copy link
Contributor Author

gengliangwang commented Mar 3, 2021

Hi, @shortcuts I just tried it and it works now.
One quick comment, the search result always comes with an ending #content. Is it possible that we can remove it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants