Skip to content

Commit

Permalink
#1125 Use the faster download server when downloading the most recent…
Browse files Browse the repository at this point in the history
… Solr release
  • Loading branch information
extracts committed Oct 25, 2023
1 parent be811f1 commit b9b244a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bin/install_solr_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if [[ "$version" =~ ^[1-8]\.[0-9]+\.[0-9]+$ ]]; then
ant download-solr -DsolrVersion=$SOLR_VERSION -DdownloadDir=./downloads
elif [[ "$version" =~ ^(9|[1-9][0-9]+)\.[0-9]+\.[0-9]+$ ]]; then # new archive URL for versions >9.0.0
SOLR_VERSION="$version"
SOLR_URL="https://archive.apache.org/dist/solr/solr/$SOLR_VERSION/solr-$SOLR_VERSION.tgz"
SOLR_URL="https://www.apache.org/dyn/closer.lua/solr/solr/$SOLR_VERSION/solr-$SOLR_VERSION.tgz?action=download"
echo "Getting: $SOLR_URL"
wget -q $SOLR_URL -O - | tar -xz
else
Expand Down

0 comments on commit b9b244a

Please sign in to comment.