This documentation is for WSO2 Governance Registry 5.0.1. View documentation for the latest release.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Follow the steps below to re-index the resources after completing the migration.

  1. Delete the 'solr' directory of the file system <G-REG_HOME>/solr/ directory.
  2. Change the name (e.g. lastaccesstime to lastaccesstime_1of the file in the registry which tracks the last access time of indexing the resources, by changing the value of the <lastAccessTimeLocation> property in the <G-REG_HOME>/repositiry/conf/registry.xml file as follows.
    <lastAccessTimeLocation>/_system/local/repository/components/org.wso2.carbon.registry/indexing/lastaccesstime_1</lastAccessTimeLocation>
  3. Restart the G-Reg server and wait for around 30 minutes. This time duration depends on number of resources that are there in the registry.

...