SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 68533: The SAS® Risk Governance Framework includes enhancements to the updateIndex command for the global search capability

DetailsHotfixAboutRate It

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:

  1. The default value for the w option to ignore errors while processing attachments is false.
  2. The default value for the x option to clear previous search index entries is true.
  3. 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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Risk Governance FrameworkLinux for x647.49.4 TS1M5
Windows 7 Ultimate x647.49.4 TS1M5
Windows 7 Ultimate 32 bit7.49.4 TS1M5
Windows 7 Professional x647.49.4 TS1M5
Windows 7 Professional 32 bit7.49.4 TS1M5
Windows 7 Home Premium x647.49.4 TS1M5
Windows 7 Home Premium 32 bit7.49.4 TS1M5
Windows 7 Enterprise x647.49.4 TS1M5
Windows 7 Enterprise 32 bit7.49.4 TS1M5
Microsoft Windows Server 20167.49.4 TS1M5
Microsoft Windows Server 2012 Std7.49.4 TS1M5
Microsoft Windows Server 2012 R2 Std7.49.4 TS1M5
Microsoft Windows Server 2012 R2 Datacenter7.49.4 TS1M5
Microsoft Windows Server 2012 Datacenter7.49.4 TS1M5
Microsoft Windows Server 2008 for x647.49.4 TS1M5
Microsoft Windows Server 2008 R27.49.4 TS1M5
Microsoft Windows Server 20087.49.4 TS1M5
Microsoft Windows 107.49.4 TS1M5
Microsoft Windows 8.1 Pro x647.49.4 TS1M5
Microsoft Windows 8.1 Pro 32-bit7.49.4 TS1M5
Microsoft Windows 8.1 Enterprise x647.49.4 TS1M5
Microsoft Windows 8.1 Enterprise 32-bit7.49.4 TS1M5
Microsoft Windows 8 Pro x647.49.4 TS1M5
Microsoft® Windows® for x647.49.4 TS1M5
Microsoft Windows 8 Enterprise 32-bit7.49.4 TS1M5
Microsoft Windows 8 Enterprise x647.49.4 TS1M5
Microsoft Windows 8 Pro 32-bit7.49.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.