Merging the indexed data from the LQE2 instance into the LQE1 instance

To ensure that the LQE1 instance contains a complete and accurate data set for reporting, merge the indexed data from the LQE2 instance with the current data on the LQE1 instance. These steps assume that you continue to use the LQE1 instance as the Lifecycle Query Engine server, and not the LQE2 clone.

Procedure

  1. Back up both the LQE1 and LQE2 instances. For details, see Backing up and restoring Lifecycle Query Engine and Link Index Provider.

    Backing up the LQE1 instance ensures that you preserve the history in case it is deleted accidentally.

    Backing up the LQE2 instance provides you with the data you need to merge both Lifecycle Query Engine instances.

  2. Stop both Lifecycle Query Engine instances.
  3. In the lqe.properties file of the LQE1 instance, set this Lifecycle Query Engine property: lqe.restore=true.
  4. Overwrite the history of the LQE1 instance (not the new LQE1 backup).
    1. Copy the following folders from the LQE2 backup to the LQE1 instance:
      • Copy /datasets into conf/lqe
      • Copy /metadata into conf/lqe

    2. In the LQE1 instance, delete the following folders, which are subfolders of what you copied.
      • conf/lqe/datasets/history/indexTdb
      • conf/lqe/datasets/history/textIndex
    3. Copy the LQE1 history folders to the data sets folders.
      • Copy conf/lqe/historyTdb to conf/lqe/datasets/history/indexTdb
      • Copy conf/lqe/historyText to conf/lqe/datasets/history/textIndex
    The LQE1 instance now contains fully indexed, up-to-date data. Your work with the LQE2 instance is complete.