Regarding SharePoint On Premise Search Result

SHUO .H 706 Reputation points
2021-11-04T16:32:11.607+00:00

Hi there,

I ran into a wired search results issue. I create a new site collection (http://hostname:port number) and use the AAM (https://xxx.xxx.xxx; Intranet zone - ADFS) for mapping to the default zone - NTLM (http://hostname:port number). Default zone is my content sources and we will do a crawl on it.

Every user will access the Intranet zone and search documents on it. today we found something wrong:

  1. We connect to Intranet zone - Success
  2. We search the document - Success - we got the results. The URL should be https://xxx.xxx.xxx but all the URL of search result is http://hostname:port number.

does anyone have any idea on it. ??

Thanks

Microsoft 365 and Office | SharePoint Server | For business
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Echo Du_MSFT 17,316 Reputation points
    2021-11-05T06:48:32.413+00:00

    Hi @SHUO .H ,

    Long time no see, how are you?

    Generally speaking, the Search Service Application will only crawl "Default Zone". Therefore, the search results can only get the default url (http://hostname:port number), but not the Intranet url (https://xxx.xxx.xxx)

    If you want to get Intranet url (https://xxx.xxx.xxx), please do the following:

    Note: In my test, default url is http://sp13 and intarnet url is http://sp13:8080

    146698-c1.jpg

    1.Go to the SharePoint Central Administration as an admin

    2.Application Management >> Manage service applications

    146756-c2.jpg

    3.On the Manage Service Applications page, click Search Service Application

    146699-c3.jpg

    4.On the Search Administration page, click Content Source in the left navigation bar

    146737-c4.jpg

    5.On the Manage Content Sources page, edit the Content Source that your selected.

    146708-c5.jpg

    6.On the Edit Content Source page, add the Intranet url (https://xxx.xxx.xxx) to the Start Addresses list.

    146784-c6.jpg

    7.This Content Source run Full Crawl again.

    146738-c7.jpg

    Thanks,
    Echo Du

    =============================================

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.