Base URL and Create base HREF
-
Question
What is the significance of Base URL and Create base HREF options in search client settings?
Environment
Reported product version Colubridae '19 Resolved in version Colubridae '19 Module Search Client Answer
Base URL
The Base URL field serves multiple purposes in a search client. It is meant for configuring the attachment URL and making PDF, DOC, and other files searchable.HREF URL
The HREF URL field is used to define the redirecting links from the search results page. The first half of the text of the URL is auto generated when you drag-drop a particular crawled field from the list given in search client configurations. Those are unique field names stored by SU in our indexes.Here is an example:
https://qa-searchunify.com/documentation/article/{{lightningsb___knowledge__kav___UrlName}}
.This is the logic for how the URL is generated :
lowercase(contentSourceName)
appended with two underscorelowercase(objectApiName)
appended with two underscore andlowercase(fieldApiName)
.For more details, follow the below link Custom Base HREF.