segunda-feira, 8 de setembro de 2014

SharePoint 2013 - “The item has been truncated in the index because it exceeds the maximum size”

O seguinte evento da pesquisa (severidade "Warning") está relacionado ao tamanho de uma propriedade gerenciada indexada, nesse caso o campo "body".

The item has been truncated in the index because it exceeds the maximum size. ( Item truncated. Field=body, Occurrences=98660, Chars=524288; ; SearchID = F99FEAD1-C0D9-4A2B-9883-5A9C9ED582B4 )

O limite default é 512kb e configurável, o tamanho máximo é 2048kb.

Utilize o script abaixo para configurar o limite para 2048kb:
$ssa = Get-SPEnterpriseSearchServiceApplication$mpi = Get-SPEnterpriseSearchMetadataManagedProperty -SearchApplication $ssa -Identity "body"$mpi.MaxCharactersInPropertyStoreForRetrieval = 2097152$mpi.Update()

Limites de software para o SharePoint 2013

Nenhum comentário:

Postar um comentário