question

SHUOH-8693 avatar image
0 Votes"
SHUOH-8693 asked EchoDu-MSFT edited

Regarding SharePoint On Premise Search Result

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

office-sharepoint-server-administrationoffice-sharepoint-server-itprooffice-sharepoint-server-search-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

EchoDu-MSFT avatar image
0 Votes"
EchoDu-MSFT answered EchoDu-MSFT edited

Hi @SHUOH-8693 ,

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.







c1.jpg (99.4 KiB)
c2.jpg (101.2 KiB)
c3.jpg (148.6 KiB)
c4.jpg (112.2 KiB)
c5.jpg (101.5 KiB)
c6.jpg (131.3 KiB)
c7.jpg (86.6 KiB)
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @EchoDu-MSFT,

I am good and busy. :) Let me try it out ar and give you updates on it. I always trust you could help me solve out my problem.

0 Votes 0 ·

Hi @SHUOH-8693 ,

Thanks for your reply.

I am looking forward to your good news.

Have a nice day!

Thanks,
Echo Du

0 Votes 0 ·

Hi @EchoDu-MSFT,

I have a several questions:

  1. do we need to reset index?

  2. our engineer custom a webpart(spfx) by using rest search api (item.ServerRedirectedEmbedURL.value.)

I follow up the above instruction to complete the settings, unfortunately, there are two types URL in my result page:

  1. http://xxxxxx:prot number (Wrong)

  2. https://xxx.xxx.xxx/...... (Correct)

so does @EchoDu-MSFT have any ideas on it.

thanks



0 Votes 0 ·

another thing is integration(the sharepoint integrate with oos). so i found the search result if the document was found then its URL will be http://hostname/_layouts/15/WopiFrame.aspx?sourcedoc={GUID}&action=interactivepreview.

it should be "http://xxx.xxx.xxx/_layouts/15/WopiFrame.aspx?sourcedoc={GUID}&action=interactivepreview"

do you have any suggestions?

Thanks

0 Votes 0 ·

Hi @SHUOH-8693 ,

1.Not need to reset index

2.Regarding api issues, I suggest that you can open a "Office-SharePoint-server-development" post to get more professional help.

Thanks,
Echo Du

0 Votes 0 ·