Use this information to upgrade from Search and Insight Engine 1.x to Search and Insight Engine 1.4.
Note: A reindex is not required when you upgrade from Search and Insight Engine 1.1 to Search and Insight Engine 1.4.
-
Stop Search and Insight Engine.
./solr/bin/solr stop
-
Backup or move the existing
alfresco-insight-engine folder
to a preferred location. For example,alfresco-insight-engine-1.x
. -
Browse to Hyland Community.
-
Download and unzip the Search and Insight Engine distribution zip file to a preferred location:
alfresco-insight-engine-1.4.x.zip
By default, the contents are decompressed in a folder at
./alfresco-insight-engine
. The folder extracts into the same location as the zip file. -
You can now start Search and Insight Engine by pointing to the content store and indexes from Search and Insight Engine 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-insight-engine-1.1/contentstore -Dsolr.model.dir=/alfresco-insight-engine-1.1/solrhome/alfrescoModels -Ddata.dir.root=/alfresco-insight-engine-1.1/solrhome/
Microsoft Windows
solr start -a "-Dcreate.alfresco.defaults=alfresco,archive" -p <port> -Dsolr.content.dir="alfresco-insight-engine-1.1\contentstore" -Dsolr.model.dir="alfresco-insight-engine-1.1\solrhome\alfrescoModels" -Ddata.dir.root="alfresco-insight-engine-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-insight-engine-1.x
to a preferred location, for examplealf_data
. -
Copy the cores: alfresco, archive and the models: alfrescoModels from
alfresco-insight-engine-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-insight-engine/solr.in.sh or alfresco-insight-engine/solr.in.cmd file, you must restore it from your backup.
-
Start Search and Insight Engine 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\"