Usage Note 68533: The SAS® Risk Governance Framework includes enhancements to the updateIndex command for the global search capability
A hot fix provides enhancements to the updateindex command in the SAS Risk Governance Framework. This command is used to update index data for the global search feature.
The enhancements to the updateindex command include the following:
- A new option specifies that the web application should ignore any errors encountered while indexing attachments. With this option, any errors found in the indexing of attachments are reported as warnings. To ignore errors found during the processing of attachments, specify a value of true for the w option, as shown in the example below:
updateindex.sh -c solution-identifier -w true
- When the updateindex command fails, the web application logs an error message in the monitor.log file. With this hot fix, the error message now includes the object type and object RK for the business object that failed, as shown in the example below:
ERROR com.sas.oprisk.server.search.index.SearchIndexService - Could not index attachments
com.sas.oprisk.framework.server.OpRiskException: Could not index attachment Test_Rich_Text.html for object CUST_OBJ_1|10202|mrm|.
Details: Error from server at http://host:8983/solr/rgf: Expected mime type application/octet-stream but got text/html.
- When the command encounters an error during indexing, it generates a message similar to the following to indicate the last object that was processed successfully:
The last successful object handle when indexing the search entries is CUST_OBJ_1|10201|mrm|.
- After you fix the cause of an error, you can now specify that the updateindex command should start processing at the point where the previous execution failed. As a result, you are no longer required to restart the process from the beginning and to re-index the objects that were processed correctly. To resume processing at the previous point of failure, specify the r option with the object handle of the last object that was processed successfully. To resume processing, you should also specify a value of false for the x option to ensure that the command does not clear previous search index entries. See the example below:
updateindex -c solution-identifier -x false -r "CUST_OBJ_1|10201|mrm|"
Notes:
- The default value for the w option to ignore errors while processing attachments is false.
- The default value for the x option to clear previous search index entries is true.
- For ease of use in viewing the output from the command, you can pipe the output to a file, as shown below:
updateindex -c solution-identifier -x false -r "CUST_OBJ_1|10201|mrm|" > resume_index.log
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Risk Governance Framework | Linux for x64 | 7.4 | | 9.4 TS1M5 | |
Windows 7 Ultimate x64 | 7.4 | | 9.4 TS1M5 | |
Windows 7 Ultimate 32 bit | 7.4 | | 9.4 TS1M5 | |
Windows 7 Professional x64 | 7.4 | | 9.4 TS1M5 | |
Windows 7 Professional 32 bit | 7.4 | | 9.4 TS1M5 | |
Windows 7 Home Premium x64 | 7.4 | | 9.4 TS1M5 | |
Windows 7 Home Premium 32 bit | 7.4 | | 9.4 TS1M5 | |
Windows 7 Enterprise x64 | 7.4 | | 9.4 TS1M5 | |
Windows 7 Enterprise 32 bit | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows Server 2016 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 Std | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 R2 Std | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 R2 Datacenter | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 Datacenter | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows Server 2008 for x64 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows Server 2008 R2 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows Server 2008 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 10 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Pro x64 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Pro 32-bit | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Enterprise x64 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Enterprise 32-bit | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 8 Pro x64 | 7.4 | | 9.4 TS1M5 | |
Microsoft® Windows® for x64 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 8 Enterprise 32-bit | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 8 Enterprise x64 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 8 Pro 32-bit | 7.4 | | 9.4 TS1M5 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Date Modified: | 2021-11-01 09:03:37 |
Date Created: | 2021-10-20 16:21:30 |