天天看點

SharePoint 2013 search service 爬網錯誤診斷三則

SharePoint 2013 爬網錯誤1:

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. 確定用于Crawl的帳号有權限通路要爬網的網站

2. 確定Web伺服器上面沒有回環,可以用以下指令禁用回環

New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name “DisableLoopbackCheck” -Value “1″ -PropertyType dword
           

SharePoint 2013 爬網錯誤2:

The item has been truncated in the index because it exceeds the maximum size

以上錯誤一般是因為爬 網對象(文檔等)的大小超過了預設限制 。

可以運作以下指令修改限制:

$ssa = Get-SPEnterpriseSearchServiceApplication
$mp = Get-SPEnterpriseSearchMetadataManagedProperty -SearchApplication $ssa -Identity "PublishingPageContentOWSHTML"
$mp.MaxCharactersInPropertyStoreForRetrieval = 2097152
$mp.Update()
           

SharePoint 2013 爬網錯誤3:

The content for this address was excluded by the crawler because this item was marked with a no-index meta-tag. To index this item, remove the meta-tag and recrawl.

1.  確定爬網對象的URL沒有被爬網規則exclude 

2. 確定爬網規則Include 的SharePoint 站點對象時不要選中"Crawl SharePoint content as http pages"

SharePoint 2013 search service 爬網錯誤診斷三則

繼續閱讀