in USS UI , two search places have different search results

Document ID : KB000013724
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

In USS UI ,  there are 2 search places :

1)  on the top right corner , it is called Global Search :

Global_Search.gif

 

2) login USS UI ,  click "Request a Service" . There is another search.  This search is called Catalog Search .

local_search_2.gif

Question:

 why are the search results different in USS's two search places  ?

 

Environment:
catalog 14.1
Answer:

There is a search filter written in USS on top of Service Catalog search results to filter out the results with only matching string in name or description of offerings, which is the reason that we see different results from global search in USS and search from Catalog widget (search inside request a service in USS). 

Hence this is the behavior of USS. 

Global Search:
-------------------
If we search for a string which is present in offering name or description, then those will be displayed in global search, rest of the results returned from catalog are discarded.

Catalog Search:
--------------------
Displays all the offerings where the search key word matches with any of the offering elements not only name and description.

 

Additional Information:

Both searches ( Global Search and Catalog Search )  are based on the search from catalog server .   In other words ,  in order for both searches in USS UI work as expected ,   you will need to make sure  the search in catalog UI is working fine ( i.e.   when login catalog UI , go to Requests  -> Search: Entire Catalog ,  it needs to be able to returns all offerings where the search key word matches with any of the offering elements not only just name and description )  .   In catalog 14.1 ,  if this part doesn't work ,  you need to apply a testfix T6D9145.