3

Our crawler shows the following warning:

The item has been truncated in the index because it exceeds the maximum size. ( Item truncated. Field=docacl, Occurrences=3094, Chars=524453.

It concerns a SharePoint 2013 site-collection in 2010 mode. It refers to list items with unique permissions. Maximum of 10 groups per item. 400 items in the list itself.

When you google for this issue you will often find the following link: http://blog.mastykarz.nl/the-item-has-been-truncated-in-the-index-because-it-exceeds-the-maximum-size/

However, changing that property doesn't actually do anything unfortunately.

Any ideas?

4

If it's a multi value property then the max limit is 1000 instances.

As per http://technet.microsoft.com/en-us/library/cc262787(v=office.15).aspx#Search a managed property can only store 1000 unique values per item. Your message says over 3000.

If it's a single value you can increase the MaxCharactersInPropertyStoreIndex property using the following powershell script:

$ssa = Get-SPEnterpriseSearchServiceApplication
$mp = Get-SPEnterpriseSearchMetadataManagedProperty -SearchApplication $ssa -Identity "docacl"
$mp.MaxCharactersInPropertyStoreIndex = 2097152
$mp.Update() 
  • Didn't even think that the occurrences would be an issue...That would mean search would not work on any item that gives access to more than 1000 users? Doesn't seem to be that strange of a use case. – Martijn Bijl Apr 20 '14 at 10:08
  • To be sure, when you increase the limit from 512kb to 2mb, do you see an increase in the Chars= error when indexing? As you should see this. – Mikael Svenson Apr 22 '14 at 6:29
  • @MartijnBijl Hmm.. as per technet.microsoft.com/en-us/library/… docacl is not multivalue, so the storage limit should apply, and my answer might be wrong. – Mikael Svenson Apr 22 '14 at 14:14
  • Unfortunately no, the warning remains the exact same. We changed the property, did an IISReset and restarted the search service. – Martijn Bijl Apr 23 '14 at 7:05
  • 1
    I'll try that the upcoming Monday. I feel pretty stupid if it is that easy. On the other hand, its hard to look for stuff when you don't know what to look for :) – Martijn Bijl Apr 26 '14 at 12:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.