How to re-index web report lists

Document ID : KB000051809
Last Modified Date : 14/02/2018
Show Technical Document Details

QUESTION:

 

How to recreate the list of reports available for viewing on the web interface's Report Lists tab.

 

ANSWER:

 

For all reports which are output to the web interface, an index or entry is created for them in the database in the NH_REPORT table. Sometimes it may be necessary to re-index the table to 'trim' it so that load times of the Report List are reasonable.

 

nhWebUtil -index

 

When this is run, eHealth reads in all report.nam files and updates the NH_REPORT table accordingly.

ADDITIONAL INFORMATION:

 

Prior to eHealth version 6.0, the list of web reports was contained in files named reportIndex.txt. There were multiple locations for these files including:

 

$NH_HOME/web/output/users
$NH_HOME/web/output/groups
$NH_HOME/web/output/groupLists
$NH_HOME/web/output/views

 

The running of nhWebUtil would re-read in all report.nam files and update the reportIndex.txt files accordingly.