Upgrade to Solr 8
If your search is configured with http://localhost:7070/sme/ you will need move to Solr 8. After upgrading you will need to run a reindex as data cannot be migrated.
First stop the current search service.
systemctl stop jetty systemctl disable jetty
Change to the smestorage user.
su - smestorage
Create container for Solr.
mkdir /var/www/smestorage/containers/solr
cat > /var/www/smestorage/containers/solr/docker-compose.yml
version: '3.7'
services:
sme_solr:
image: 'registry.storagemadeeasy.com/sme_solr:8.11.2-6'
restart: always
volumes:
- "/var/solr:/var/solr"
ports:
- "127.0.0.1:8983:8983"
- "127.0.0.1:7070:7070"
command:
- solr-precreate
- sme
- /opt/solr/server/solr/configsets/sme
environment:
- SOLR_HEAP=15360M
^D
Create container for PDF Burner if you are using:
mkdir /var/www/smestorage/containers/pdfburner
cat > /var/www/smestorage/containers/pdfburner/docker-compose.yml
version: '3.7'
services:
pdfburner:
image: 'registry.storagemadeeasy.com/pdfburner:5.0.0'
restart: always
ports:
- "127.0.0.1:7071:8080"
^D
Exist from the shell as smestorage user and become root again.
Make sure the data folder exists:
mkdir /var/solr
Pull in the Solr image and start the service
cd /var/www/smestorage/containers/solr docker compose pull docker compose up - d
To check the service is starting correctly:
docker compose logs -ft
Pull in the PDF Burner image and start the service
cd /var/www/smestorage/containers/pdfburner docker compose pull docker compose up - d
Change the settings under Site Search Integration to http://127.0.0.1:8983/solr/sme/ as per the configuration above.
For each provider navigate to provider settings and under “Tech Info” select the cog icon “Manage Content Indexing”. Select “Reindex”. A background tasks will be created that will reindex the provider.