Including the description field when searching offerings in Service Point
search cancel

Including the description field when searching offerings in Service Point

book

Article ID: 135161

calendar_today

Updated On:

Products

CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager CA Service Catalog

Issue/Introduction

In Service Catalog, searches may involve the description field of the service offering.  This article describes how to achieve a similar search by description text in service point (xFlow).

Environment

Release :  17.1 or higher

Component : SERVICE DESK MANAGER

Resolution

You can add this functionality by doing the following:

  • Stop xFlow services

  • Backup, then edit the application.conf file, located in C:\Program Files\CA\xFlow\APPS\Services\searchmicroservice-17.0.479\conf 

  • Locate the "slcmSearchFields" entry which will read as:

    slcmSearchFields = ["__LANG__.offering_name^8","__LANG__.offering_name.asis^8","def.offering_name^8","def.offering_name.asis^8","options.keywords^4","options.__LANG__.option_name^4","options.__LANG__.option_name.asis^4","options.def.option_name^4","options.def.option_name.asis^4", "option_groups.__LANG__.og_name^2","option_groups.__LANG__.og_name.asis^2","option_groups.def.og_name^2","option_groups.def.og_name.asis^2","option_groups.__LANG__.og_desc^1","option_groups.__LANG__.og_desc.asis^1","option_groups.def.og_desc^1","option_groups.def.og_desc.asis^1"],

  • Add the below line towards the end

    "__LANG__. offering_description^1","__LANG__. offering_description.asis^1","def. offering_description^1","def. offering_description.asis^1"

  • The updated line will read as:

    slcmSearchFields = ["__LANG__.offering_name^8","__LANG__.offering_name.asis^8","def.offering_name^8","def.offering_name.asis^8","options.keywords^4","options.__LANG__.option_name^4","options.__LANG__.option_name.asis^4","options.def.option_name^4","options.def.option_name.asis^4", "option_groups.__LANG__.og_name^2","option_groups.__LANG__.og_name.asis^2","option_groups.def.og_name^2","option_groups.def.og_name.asis^2","option_groups.__LANG__.og_desc^1","option_groups.__LANG__.og_desc.asis^1","option_groups.def.og_desc^1","option_groups.def.og_desc.asis^1","__LANG__. offering_description^1","__LANG__. offering_description.asis^1","def. offering_description^1","def. offering_description.asis^1"],


  • Upon changing the above, restart the “CA xFlow Analyst Interface service”.

Additional Information

This change has to be made on all the nodes, if it is a cluster setup.  Make sure to also test the change in a non-prod instance, paying close attention to application performance.  The original design specification omitted the description field due to the potential performance issues that may arise in including the field.