Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
themeRDark
cd /opt/shrine/tomcat/lib

wget https://shrine-act-artifacts.s3.amazonaws.com/lucene-indices/lucene_index-2.0.1-cov3-07-14-2020.zip -O lucene_index.zip
wget https://shrine-act-artifacts.s3.amazonaws.com/lucene-indices/suggest_index-2.0.1-cov3-07-14-2020.zip -O suggest_index.zip

unzip lucene_index.zip
unzip suggest_index.zip

chown -R shrine:shrine lucene_index
chown -R shrine:shrine suggest_index

rm lucene_index.zip suggest_index.zip


Note: If your system uses a different directory other than /opt/shrine/tomcat/, then it is recommended to make the following change below to your shrine.conf. This will help the Shrine locate the the lucene_index files. By default the system looks for the lucene_index in the /opt/shrine/tomcat/lib directory. 

lucene {

directory = "/path to shrine/tomcat/lib/lucene_index"

maxSearchResults = 200

suggestDirectory = "/path to shrine/tomcat/lib/suggest_index"

suggestCount = 5

}

Not doing this will result in the following webclient error: Error connecting to: "https://shrinehost/shrine-api/ontology/filterOptions"