In RKM 9.1 we have improved the search result relevancy. This KB article contains the steps and file needed for this functionality. See the following documentation Version 9.1 enhancements |
This knowledge article may contain information that does not apply to version 21.05 or later which runs in a container environment. Please refer to Article Number 000385088 for more information about troubleshooting BMC products in containers. For ITSM RKM 9.1.00, in order to update the SearchBoostValue of the existing articles (already viewed or used at least once) as per the updated boostViewIncrement and boostUseIncrement values in the RKM:Configuration record, perform the below steps: 1. Download the below attached ARX file 'MSMMigration_ToUpdateSearchBoostValue.arx'. 2. To import the data record provided in the ARX file, Login to "BMC Remedy Data Import" tool with admin rights. 3. Select 'File' -> 'New Mapping' to start creating a new mapping and select the following options: a. Source Data File: MSMMigration_ToUpdateSearchBoostValue.arx (with full path name) b. Source Form Name: MSM:MigrationTasks c. Target Server: select the AR Server name here d. Target Form Name: MSM:MigrationTasks e. Field Value Mappings: Click on 'Auto Map' f. Go to the 'Options'-tab -> 'Duplicates' section i. Handle Duplicate Request IDs By: Update old Record with New Record's Data ii. Match Duplicate Request By: Custom Fields iii. Click 'Add...' and select the field: Task Tag (300928500) iv. If Any Requests Match: Use First Matching Request g. Make sure to check/uncheck the below options under the 'Data Handling'-section: h. Now select 'Import' -> 'Start import' in the Data Import Tool to start the import j. Make sure 1 record gets imported successfully 4. The import should have triggered the workflow to update the searchBoostValue on the Knowledge Articles - check/ensure the values are indeed updated properly. 5. The record imported in step 3 is temporary and can be deleted again. To delete this temporary record: a. Login to Mid-Tier with Admin rights and open the form 'MSM:MigrationTasks'. b. Perform the following Advanced Search and delete the record that is returned: Advanced Search: 'Task Tag' = "RKM_KAM_UPDATE_SEARCH_BOOST_VALUE" IMPORTANT - The workflow that is triggered by the above steps will result in the 'z1D_Action' field (ID 302301054) on 'RKM:KnowledgeArticleManager' to be set to "UPDATESEARCHBOOST" for any article where the 'Use_Counter' or 'View_Counter' was greater than 0 (as 'z1D_Action' is not a Display-Only field). This value needs to be cleared again from the 'z1D_Action' field, otherwise filter "RKM:KAM:OnModify_UpdateSearchBoost" will cause RKM workflow to get bypassed on future edits of those articles (for example, status updates may no longer work and simply revert to the previous status). A query similar to this could be used on e.g. MS SQL (note: please check with your Database Administrator first to take any appropriate back-ups): UPDATE RKM_KnowledgeArticleManager
SET z1D_Action = NULL WHERE z1D_Action='UPDATESEARCHBOOST' Alternatively, instead of clearing the field, the Run-If condition of filter "RKM:KAM:OnModify_UpdateSearchBoost" can be modified so it checks for a transactional value on 'z1D_Action'. To do this, update the Run-If condition of that filter from: 'z1D_Action' = "UPDATESEARCHBOOST"
To: ('TR.z1D_Action' = "UPDATESEARCHBOOST")
|