Use this information to upgrade from Search Services 1.x to Search Services 1.4.
Note: A reindex is not required when you upgrade from Search Services 1.1 to Search Services 1.4.
-
Stop Search Services.
./solr/bin/solr stop
-
Backup or move the existing
alfresco-search-services folder
to a preferred location. For example,alfresco-search-services-1.x
. -
Browse to Hyland Community.
-
Download and unzip the Search Services distribution zip file to a preferred location:
alfresco-search-services-1.4.x.zip
By default, the contents are decompressed in a folder at
./alfresco-search-services
. The folder extracts into the same location as the zip file. -
You can now start Search Services by pointing to the content store and indexes from Search Services 1.x using the following commands.
If the content store and indexes for Solr are in another location, change the directory location to point to the correct one.
Unix like systems
./solr/bin/solr start -a "-Dcreate.alfresco.defaults=alfresco,archive" -p <port> -Dsolr.content.dir=/alfresco-search-services-1.1/contentstore -Dsolr.model.dir=/alfresco-search-services-1.1/solrhome/alfrescoModels -Ddata.dir.root=/alfresco-search-services-1.1/solrhome/
Microsoft Windows
solr start -a "-Dcreate.alfresco.defaults=alfresco,archive" -p <port> -Dsolr.content.dir="alfresco-search-services-1.1\contentstore" -Dsolr.model.dir="alfresco-search-services-1.1\solrhome\alfrescoModels" -Ddata.dir.root="alfresco-search-services-1.1\solrhome\"
Note: At this stage you have upgraded. If you want to upgrade using an external location, continue with the following steps.
-
Copy the
contentstore
from the backupalfresco-search-services-1.x
to a preferred location, for examplealf_data
. -
Copy the cores: alfresco, archive and the models: alfrescoModels from
alfresco-search-services-1.0/solrhome
. -
Your directory structure will look like the following:
alf_data/contentstore alf_data/solrhome alf_data/solrhome/alfresco alf_data/solrhome/archive alf_data/solrhome/alfrescoModels
-
(Optional) If you have changed the alfresco-search-services/solr.in.sh or alfresco-search-services/solr.in.cmd file, you must restore it from your backup.
-
Start Search Services 1.4.
If the content store and indexes for Solr are in another location, use the following commands to point Solr to the right location:
Unix like systems
./solr/bin/solr start -a "-Dcreate.alfresco.defaults=alfresco,archive" -p <port> -Dsolr.content.dir=/your-preferred-location/contentstore -Dsolr.model.dir=/your-preferred-location/solrhome/alfrescoModels -Ddata.dir.root=/your-preferred-location/solrhome/
Microsoft Windows
solr start -a "-Dcreate.alfresco.defaults=alfresco,archive" -p <port> -Dsolr.content.dir="your-preferred-location\contentstore" -Dsolr.model.dir="your-preferred-location\solrhome\alfrescoModels" -Ddata.dir.root="your-preferred-location\solrhome\"