搜尋類容源中必須有一個
sps3://網站名
這個網站名,就是 我的網站 宿主網站
例如,我的網站 URL是 http://mysite.com/sites/mysite/default.aspx
那裡内容源應該配置: sps3://mysite.com/
另可以參考:
首先發下牢騷,他哥的,這個東東花了我兩天時間,一直try,終于今天搞定了,這是本人到此第一周上班要解決的問題。
人員搜尋,以前的都是它自己搞定了,沒太關注,現在碰到了,記錄下配置心得,希望XDJM看到本文後,少走些彎路。
一、錯誤描述:
1、All Site類别的資料可以搜尋到,People人員搜尋就是沒結果。
2、在People Picker中可以找到使用者。
3、檢視爬網Log出現如下錯誤:
Log1. Error in PortalCrawl Web Service.
Log2. Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has "Full Read" permissions on the SharePoint Web Application being crawled.
二、錯誤原因:
1、找不到爬網的個人網站的網站集。
2、資料庫的人員搜尋服務應用程式的搜尋帳号無權限。
三、解決方案:
確定User Profile Service 、Search Service 、Managed Metadata Service 這些服務已經啟動。
添加搜尋服務内容源:sps3://HostName:Port。
1、建立個人網站集。
在你的個人網站的應用程式下建立Enterprise下的My Site Host的網站模闆的網站集。
也就是這個人員搜尋服務内容源一定要是個人網站所在的Application。
2、添加搜尋人員帳号。
按照這個步驟添加人員搜尋帳号及權限:
管理中心——Application Management——Manage Service Applications——選中User Profile Service Application——點選Ribbon上的Administrators——添加内容通路帳号——賦予内容通路帳号權限"Retrieve People Data for Search Crawlers”。
如下圖,注意這個帳号不必給Full Control,否則連版本曆史記錄也搜到了。
按照上面的解決途徑,終于OK了,希望你的也可以這樣搞定。
本文轉自cantgis 51CTO部落格,原文連結:http://blog.51cto.com/cantgis/1163585,如需轉載請自行聯系原作者