Thursday, April 26, 2018

Site Name Is Not Valid When Clicking Search Results

Tools VersionOn : 8.55 version, Elastic Search 

When searching with Elasticsearch in a test 9.2 we receive results but when clicking the result we are receiving the error ""Site name is not valid. check your syntax and try again." when clicking a result on the search results page. 

WorkAround:


Navigate to Integration Broker Nodes and sort by local. Check the Portal and Content URLs of each node marked local to verify the site name is in lower case for both.

Here are the steps to make it work after a change to the Portal or content URL's:
Make certain this change is made to ALL LOCAL NODES. For example, for HCM, this would need to be defined for PSFT_HR and HRMS nodes.

After you make the above changes, you will need to rebuild the search indices. Do this as follows:

A. Undeploy/Redeploy any Search Definitions that were built with incorrect URL's as follows:
  • Navigate to PeopleTools, Search Framework, Administration, Deploy/Delete Object
  • Check box next to the non-working Search Definition
  • Click 'Undeploy'
  • After it completes, check the box next to Search Definition and this time click 'Deploy'
B. Rebuild Search Index
  • Navigate to PeopleTools, Search Framework, Administration, Schedule Search Index
  • Bring up the Run Control needed to run a Full Index build and launch it.
C. After the "Build Search Index" process has completed, re-test and verify that issue is resolved.

This should fix the issue as the links were indexed with the prior entries.

No comments:

Post a Comment