Before downloading and unzipping the Lucene index files, be sure you have at least 2.5 GB available.

Change directory to /opt/shrine/tomcat/lib.  Download and unpack the Lucene index archive files. Be sure to set the user and group ownership of the Lucene index files to the account that is running the SHRINE application (by default, this should be the "shrine" user).  Finally, clean up the zip files.  Remember that everything in /opt/shrine must have the user and group ownership set to the shrine user.

cd /opt/shrine/tomcat/lib

wget -O
wget -O


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


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"

  • No labels