Reindex Search Service and Rebuild Maps Database
Axon uses the OrientDB graph database to index and search objects and to store the maps that Axon displays. If Axon cannot retrieve objects from a search query, or if Axon cannot display maps, you can rebuild the graph database.
You might want to rebuild the graph database under the following circumstances:
- •You have created an object but Axon does not display it in the search results.
- •Axon does not display maps in the Maps tab.
- •You have migrated all Axon data from one instance to another.
To rebuild the graph database, perform the following steps in the Linux environment:
- 1. Run the following command to define the Axon environment variable so that the Linux system can access the Axon resources at the correct location:
source <INSTALLATION_DIR>/scripts/exportEnv.sh
- 2. Go to the <INSTALLATION_DIR>/scripts directory and run the following command:
sh reIndex.sh