It's all about the answers!

Ask a question

RQM offline rebuildTextIndices takes more than a week to complete


Bharath Rao (915136) | asked Sep 23 '20, 8:30 a.m.

 In the test environment(which is a recent replica of production), we see that the offline rebuildTextIndices which is mandatory after upgrading to 6061 takes more than a week to complete.


We cannot afford to keep the instance offline until this completes. 

What could we do ?

One answer



permanent link
Bharath Rao (915136) | answered Sep 23 '20, 8:38 a.m.
There are 2 ways to handle such a scenario

1. Allow to rebuild in the background.
If the application is started after the upgrade, the full text search index will be rebuilt in the background. Depending on the amount of data, this could take time. Also, you must ensure no restart happens in between as the indexing process will not continue from where it was left the last time.

2. See if you can clear data from RQM. 
a. Review the rebuildTextIndices logs to identify what test artifact types are taking longer to process.
b. Check if there is anything special about them (may be the number, type, size of the attachments etc)
c. See if those can be archived.


Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.