Close

Upgrade Search Services

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.

  1. Stop Search Services.

     ./solr/bin/solr stop
    
  2. Backup or move the existing alfresco-search-services folder to a preferred location. For example, alfresco-search-services-1.x.

  3. Browse to Hyland Community.

  4. 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.

  5. 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.

  6. Copy the contentstore from the backup alfresco-search-services-1.x to a preferred location, for example alf_data.

  7. Copy the cores: alfresco, archive and the models: alfrescoModels from alfresco-search-services-1.0/solrhome.

  8. 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
    
  9. (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.

  10. 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\"
    

Edit this page

Suggest an edit on GitHub
This website uses cookies in order to offer you the most relevant information. Please accept cookies for optimal performance. This documentation is subject to the Documentation Notice.