-
Notifications
You must be signed in to change notification settings - Fork 496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
47 upgrade solr 8 11 #8415
47 upgrade solr 8 11 #8415
Changes from 28 commits
9b7dc26
339042c
9c9be88
3a91df4
1ba337d
c37cb6a
7432b37
5879030
375ea9c
b461f49
326ecf3
ed9f719
559a84d
21bb3c4
473b4f7
30d0d92
40ebccf
70856a3
1614384
5538d6f
7f2370d
1bedb40
ef0ef27
7633a00
c11d281
0b5b895
7e55ea4
f5a4622
14fff00
b02fb94
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -408,7 +408,7 @@ | |
to occupy. Note that when this option is specified, the size | ||
and initialSize parameters are ignored. | ||
--> | ||
<filterCache class="solr.FastLRUCache" | ||
<filterCache class="solr.search.CaffeineCache" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My understanding is that we are changing this to prevent this error in server.log:
|
||
size="512" | ||
initialSize="512" | ||
autowarmCount="0"/> | ||
|
@@ -421,7 +421,7 @@ | |
maxRamMB - the maximum amount of RAM (in MB) that this cache is allowed | ||
to occupy | ||
--> | ||
<queryResultCache class="solr.LRUCache" | ||
<queryResultCache class="solr.search.CaffeineCache" | ||
size="512" | ||
initialSize="512" | ||
autowarmCount="0"/> | ||
|
@@ -432,14 +432,14 @@ | |
document). Since Lucene internal document ids are transient, | ||
this cache will not be autowarmed. | ||
--> | ||
<documentCache class="solr.LRUCache" | ||
<documentCache class="solr.search.CaffeineCache" | ||
size="512" | ||
initialSize="512" | ||
autowarmCount="0"/> | ||
|
||
<!-- custom cache currently used by block join --> | ||
<cache name="perSegFilter" | ||
class="solr.search.LRUCache" | ||
class="solr.search.CaffeineCache" | ||
size="10" | ||
initialSize="0" | ||
autowarmCount="10" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
### Solr 8 Support/Upgrade | ||
|
||
The Dataverse Software now runs on Solr 8.11.1, the latest available stable release in the Solr 8.x series. | ||
|
||
### Solr Upgrade | ||
|
||
With this release we upgrade to the latest available stable release in the Solr 8.x branch. We recommend a fresh installation of Solr (the index will be empty) followed by an "index all". | ||
|
||
Before you start the "index all", the Dataverse installation will appear to be empty because the search results come from Solr. As indexing progresses, partial results will appear until indexing is complete. | ||
|
||
See <http://guides.dataverse.org/en/5.10/installation/prerequisites.html#installing-solr> for more information. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
curl -L -O https://s3-eu-west-1.amazonaws.com/payara.fish/Payara+Downloads/5.2021.5/payara-5.2021.5.zip | ||
curl -L -O https://archive.apache.org/dist/lucene/solr/8.8.1/solr-8.8.1.tgz | ||
curl -L -O https://archive.apache.org/dist/lucene/solr/8.11.1/solr-8.11.1.tgz | ||
curl -L -O https://search.maven.org/remotecontent?filepath=org/jboss/weld/weld-osgi-bundle/2.2.10.Final/weld-osgi-bundle-2.2.10.Final-glassfish4.jar | ||
curl -s -L http://sourceforge.net/projects/schemaspy/files/schemaspy/SchemaSpy%205.0.0/schemaSpy_5.0.0.jar/download > schemaSpy_5.0.0.jar |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,7 @@ echo "Ensuring Unix user '$SOLR_USER' exists" | |
useradd $SOLR_USER || : | ||
DOWNLOAD_DIR='/dataverse/downloads' | ||
PAYARA_ZIP="$DOWNLOAD_DIR/payara-5.2021.5.zip" | ||
SOLR_TGZ="$DOWNLOAD_DIR/solr-8.8.1.tgz" | ||
SOLR_TGZ="$DOWNLOAD_DIR/solr-8.11.1.tgz" | ||
if [ ! -f $PAYARA_ZIP ] || [ ! -f $SOLR_TGZ ]; then | ||
echo "Couldn't find $PAYARA_ZIP or $SOLR_TGZ! Running download script...." | ||
cd $DOWNLOAD_DIR && ./download.sh && cd | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use 'cd ... || exit' or 'cd ... || return' in case cd fails. SC2164