This documentation is for WSO2 API Manager 2.5.0. View documentation for the latest release.

All docs This doc
||
Skip to end of metadata
Go to start of metadata

This section covers reindexing data that are already stored in databases configured for WSO2 API-M Analytics.

Data indexed and stored in databases may need to be reindexed due to the following reasons:

  • If the index data is corrupted.
  • If you change the database to another database, the data in the new database needs to be re-indexed.

To reindex existing data, follow the steps below:

  1. Shut down API-M Analytics.
  2. Remove the 'index_staging_queues' and 'index_data' directories stored in the <API-M_ANALYTICS_HOME>/repository/data location.
  3. In the <API-M_ANALYTICS_HOME>/repository/data/local-shard-allocation-config.conf file, change the mode for all the shards from NORMAL to INIT.
  4. Restart API-M Analytics.
  • No labels