Search on portal not working after the clone

poojitha bn
Giga Expert

Hi team,

We have cloned Test instance today, post cloning Typeahead search are not working on portal but Its working in DEV and PROD instance.

I have checked below things but didn't get find any solution 

  • Search sources are available in related list of portal as same as dev
  • Global text search setting is same as dev 
  • Typeahead search widget is OOB widget which is read only as same as dev
  • Text search groups are same as DEV
  • Search contexts are also same as dev 
  • Search source : knowledge base and service catalog source code are same as Dev
  • There is no error in console log 

Please do help me where to check 

Test screenshot:

find_real_file.png

Dev screenshot:

find_real_file.png

finally I executed cache.do and checked but still same issue. Please do help me what needs to be setup after the cloning for typeahead search.

 

1 ACCEPTED SOLUTION

Hi Miguel,

I found a route cause for this issue, Its because of text indexing lag time:

I will run this below line in background script as post cloning activity 

  • new GlideTextIndexEvent( ).indexUpdate('sc_cat_item', null);

This will index all your catalog items and you could able to search your catalog items. 

View solution in original post

10 REPLIES 10

Mike Patel
Tera Sage

I ran into same problem while back and I click on Generate Text Index on sc_cat_item table and it started working after mins.

Doc - https://docs.servicenow.com/bundle/orlando-platform-administration/page/administer/search-administra...

find_real_file.png

find_real_file.png

find_real_file.png