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 the Alfresco Support Portal.

  4. Download and unzip the Search Services distribution zip file to a preferred location:

    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>

    Microsoft Windows

     solr start -a "-Dcreate.alfresco.defaults=alfresco,archive" -p <port>

    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:

  9. (Optional) If you have changed the alfresco-search-services/ or alfresco-search-services/ 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>

    Microsoft Windows

    solr start -a "-Dcreate.alfresco.defaults=alfresco,archive" -p <port>

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 Alfresco documentation terms.