Vocabulary reindexing operation for Lifecycle Query Engine

Implementing reindex without deleting the existing LQE TDB folders does not require the reindex of the vocabularies. However, if you delete the LQE TDB folders that store the Lifecycle Query Engine index, you need to reindex the vocabularies.

Problem

The reindexing of the vocabularies is not implemented when the LQE TDB folders get deleted, the following issues will occur in the Report Builder:
  • Reports stop working because of the missing types and attributes.
  • User would not be able to pick the types and attributes.
  • Types and Attributes show up as the URLs in the Report Builder UI.

Solution

You can configure the following steps to reindex the vocabularies:
  1. Open the Lifecycle Query Engine Administration page.
  2. Go to the Vocabularies section, click Reindex Vocabularies.
  3. In the Internal Properties Configuration section, click Edit.
  4. Make sure to enable the Restore initial vocabularies checkbox.
  5. Click Reindex, then click OK.
The vocabularies can take 1 hour to finish reindexing. No indication is displayed upon its completion.

After the vocabularies are reindexed, the Lifecycle Query Engine data source in the Report Builder needs to be refreshed either manually or by waiting for the next automatic run of the metadata refresh.

To manually refresh the metadata for a data source in Report Builder:
  1. Go to the Administration page of Report Builder.
  2. Select the data source section, click Refresh.
Data sources refresh automatically as controlled by the following properties in the conf/rs/app.properties file:
  • # Define the time when type system model refresh task runs initially:
    • metamodel.autorefresh.time=6\:00AM
  • # Define the number of minutes between two runs of type system model refresh task:
    • metamodel.autorefresh.repeat.inminutes=720