Exporting Activity Graph Metadata

12-14 Oracle Fusion Middleware Administrators Guide for Oracle WebCenter run. For more information, see the chapter Managing the Search Service in Oracle Fusion Middleware Administrators Guide for Oracle WebCenter. To configure Activity Rank for Oracle SES: 1. The Rank Engine expects to use docscore attributes with external names of DOC_ SCORE_1 for ACTIVITY-RANK and DOC_SCORE_2 for LIKE-RANK. Therefore, you must perform a one-time mapping call to establish these fields by calling the stored procedure eq_sdata.create_sdata_attribute: exec eq_sdata.create_sdata_attribute’ACTIVITY-RANK’; exec eq_sdata.create_sdata_attribute’LIKE-RANK’; 2. You must also add entries for these attributes to the Oracle SES ranking.xml file to determine the weight that they carry: ranking docscore-factor attribute-nameACTIVITY-RANKattribute-name column-nameDOC_SCORE_1column-name weight10.3weight docscore-factor docscore-factor attribute-nameLIKE-RANKattribute-name column-nameDOC_SCORE_2column-name weight10.3weight docscore-factor ranking 3. Restart the Oracle SES middle tier so that the changes take effect. 4. Use the WLST command setAGProperty to set the following Activity Graph properties: oracle.webcenter.activitygraph.providers.datasources.ses.soap.admin.url oracle.webcenter.activitygraph.providers.datasources.ses.soap.query.url For example: setAGPropertyappName=activitygraph-engines, propertyName=oracle.webcenter.activitygraph.providers.datasources.ses.soap.adm in.url, propertyValue=http:seshostname:7777searchapiadminAdminService, propertyType=String setAGPropertyappName=activitygraph-engines, propertyName=oracle.webcenter.activitygraph.providers.datasources.ses.soap.que ry.url, propertyValue=http:seshostname:7777searchqueryOracleSearch, propertyType=String Setting these properties enables the SESRankResultAcceptor to connect to the Oracle SES server and record ranks in the index. Note: These stored procedures must be invoked from the server hosting the Oracle SES instance. Tip: The ranking.xml file is located in the following directory: SES_HOMEsearchwebappconfig Managing the Activity Graph Service 12-15 5. Use the WLST command setAGPasswordCredential to set the user names and passwords to use to access the URLs defined by the two properties. For example: setAGPasswordCredentialappName=activitygraph-engines, propertyName=oracle.webcenter.activitygraph.providers.datasources.ses.soap.adm in.credential, userName=eqsys, password=welcome1 setAGPasswordCredentialappName=activitygraph-engines, propertyName=oracle.webcenter.activitygraph.providers.datasources.ses.soap.que ry.credential, userName=orcladmin, password=welcome1 6. Restart the managed server on which the Activity Graph engines application is deployed that is, the WC_Utilities managed server.

12.8 Troubleshooting Issues with Recommendations

This section provides information to assist you in troubleshooting problems you may encounter while using the Activity Graph service.

12.8.1 Troubleshooting the Activity Graph Engines Schedule and Status Page

Problem The Activity Graph Schedule and Status page throws an error while running the Activity Graph engines Solution Basic verification in this case is to verify the deployment status of the Activity Graph engines from the WebLogic Console. Problem When the Activity Graph engines are started from the Schedule and Status page, the status of the engines is not reflected in the UI. Solution Check the Activity Graph logs to verify whether the engines are actually running or not. If the logs show that the engines are running, then the issue is only with the UI Note: The credentials should match a user that has access to all searchable items. Note: The following troubleshooting solutions assume that the Activity Graph engines are deployed correctly, the WC_Utilities managed server is up and running, and the property openusage enabled is true. You should also ensure that you have read Section 12.3, Activity Graph Service Prerequisites.