Elasticsearch - Migration Procedure Version 7.0 to 7.1 (and 6.1 to 6.2)
Elasticsearch - Migration Procedure Version 7.0 to 7.1 (and 6.1 to 6.2)
The index of Elasticsearch has changed. When migrating PoolParty instances from version 7.0 to 7.1 and 6.1 to 6.2, you have to use the following procedure.
Corpusterm Index Update:
<PPAppDir>/poolparty/data/elasticsearch/corpusterm
Also delete the respective index in this folder: ${elasticsearch.home}/data
Conceptdata Index Update:
On Elasticsearch delete this folder:
<PPAppDir>/data/elasticsearch/conceptdata
Also delete the respective index in this folder: ${elasticsearch.home}/data
Elasticsearch API Call for Folder Deletion:
Elasticsearch has published an API call for deleting these folders, in the PoolParty compliant version find details on their website.
Index Migration for GraphSearch with PoolParty Semantic Integrator and Elasticsearch:
The GraphSearch Elasticsearch searchdata index changed. Follow this procedure for migrating it.
Export and Delete the Index:
Open the GraphSearch Admin Dashboard and export the indices of all Search Spaces.
Stop the GraphSearch and Elasticsearch servers and delete the searchdata index.
Start Elasticsearch and GraphSearch. This will re-create the searchdata core.
Import the indices you exported before, using the GraphSearch Admin Dashboard.
Change the Index Manually:
Stop the GraphSearch and Elasticsearch server.
Change the index as follows for Elasticsearch:
Download the settings.json file.
Replace the existing file in this folder with the new one:
<PPAppDir>data/elasticsearch/searchdata
Start Elasticsearch and GraphSearch.
Migrate data using the API call:
/GraphSearch/admin/migrate