SharePoint 2010 Search Service -- 管理中心配置

    今天配置了一下SharePoint Search,怕忘,趕緊記下來。

    我參考了國外的一篇文章:Search Configuration in SharePoint 2010

    首先,要查看以下User Profile Service, User Profile Synchronization Service是否運行正常,然後找到Search Service Application(CA-->Application Management-->Search Service Applicatoin),點擊"Administrators"和"Permissions"去查看權限設置是否正確,主要是確認在新建"Search Service Application"時設置的"Search Service Account"是否有權限,而且要確認這個賬戶在"User Profile Service Application"中有"Retrieve People Data for Search Crawlers"的權限,如下圖:

Administrators for User Profile Service Application

接下來要確認一下,你設置的Service Account在要搜索的Site Collection上有沒有'Read'權限,如下圖:

Policy for Web Application

    接下來,我們要進入Search Service Application進行配置了。

    點擊"Search Service Application"進入後可以看到如下界面:

Search Administration

    點擊左側的"Content Sources"可以新建一個Content Source用來爬網。默認情況下,我們會刪除已有的"Local SharePoint sites"這個數據源。點擊"New Content Source",輸入"Name",選擇"SharePoint Sites"類型的Content Source,然後在"Start Addresses"區域輸入需要進行爬網的站點集或者web Application的hostName( 否則當點擊OK時可能會出現以下錯誤:The start address http://hostname/sites/???/ cannot be added when crawling the entire web application. Either select to crawl only the SharePoint site, or provide a hostname only start address to crawl.),然後在"Cawl Schedules"區域設置增量爬網的Schedule,其它部分保持默認即可,然後點擊"OK"。

New Content Source

    然後我們需要爲新的Content Source建立一個Search Scope。首先點擊左側的"Crawl Rules"。輸入"Path"值,在Crawl Configuration區域選擇"Include All Items in the Path",這三個CheckBox不用選,其它的都是用默認設置,點擊OK。

New Crawl Rule

然後,點擊左側的"Scopes",點擊"New Scope",輸入"Title"即可(此處可先不設置Target Result Page,可在每個Site Collection使用時再進行設置)其它都使用默認設置。

Search Scope

 然後點擊新建的Scope的下拉箭頭,選擇"Edit Properties and Rules",如圖:

然後點擊"New Rule",選擇"Web Address",選擇Folder並輸入要Url路徑並選擇合適的"Behavior",然後點擊"OK"。

    最後,在新建的Content Source上運行一次Full Crawl。

 

 

總結

此文章僅僅是總結了一下我在CA中配置SharePoint Search Service的步驟,希望能爲大家提供一些參考。接下來的文章中,我將會把配置"Basic Search Center"和"Enterprise Search Center"的步驟寫上來。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章