Skip to main content

Copy Instant search index

Comments

4 comments

  • Permanently deleted user
    Hi Dan,

     

    I know we discussed this in a support case, but I wanted to post the solution here, in case anyone else stumbles on this thread, and is wondering how to do the same thing.

     

    Warning:  Essentials 4.6 which ships with Core 3.0.1 uses Elastic Search for much more than just Instant Search, so these instructions are NOT suitable for someone running Essentials 4.6 and higher.  Please contact support for assistance if you are using Essentials 4.6 or newer.

     

    1. Stop the Geocortex Core service on both the source and target servers

     

    2. Navigate to C:\Program Files\Latitude Geographics\Geocortex Application Services 2\Data\Search\ElasticSearch

     

    3. There should be a single folder here named with the Machine Name of the source server; open it

     

    4. There should be a single folder called nodes within that will be copied to your target server

     

    5. Navigate to the same folder on your target server (e.g., C:\Program Files\Latitude Geographics\Geocortex Application Services 2\Data\Search\ElasticSearch[MachineName])

     

    6. Delete or otherwise back up the nodes folder (note: this will delete all existing Instant Search data on your target server)

     

    7. Paste the nodes folder from the source server to the target server's folder

     

    8. Start the Geocortex Application Services 2 service on both the source and target servers

     

    9. You may need to go into the site on the target server and enable instant search for it to actually be used on the sites.
    0
  • Dan Giersz
    I actually have not gotten around to trying this, but will update this post when I do.
    0
  • Dan Giersz
    Just wanted to confirm that this worked with Essentials 4.4.2.

     

    I did it slightly differently (stopped first server service, copied locally, restarted; then copied folder locally to other servers before stopping the service). 

     

    Note: Had some issues during the copy (probably network related), so make sure you confirm the entire folder transferred before moving to the Application Services directory. I also had to restart the site in IIS after restarting Core.
    0
  • Permanently deleted user
    Here are the instuctions for doing this with Essentials 4.6 and higher. They are very similar to the instructions Daniel posted above:

     

    1. Stop the Geocortex Core service on both the source and target servers

     

    2. Navigate to C:\Program Files\Latitude Geographics\Geocortex Core\Data\DocumentStore\DocumentStore\{cluster}\nodes\0\indices , where "{cluster}" is a folder named with the machine name of the source server

     

    4. Under this folder there should be another folder that looks similar to this: "geocortex.essentials.default.instantsearch". This is the folder we want to copy.

     

    5. Navigate to the same folder on your target server (e.g., C:\Program Files\Latitude Geographics\Geocortex Core\Data\DocumentStore\DocumentStore\{cluster}\nodes\0\indices)

     

    6. Delete or otherwise back up the geocortex.essentials.default.instantsearch folder (note: this will delete all existing Instant Search data on your target server)

     

    7. Paste the geocortex.essentials.default.instantsearch folder from the source server to the target server's folder

     

    8. Start the Geocortex Core service on both the source and target servers

     

    9. You may need to go into the site on the target server and enable instant search for it to actually be used on the sites.
    0

Please sign in to leave a comment.