For example, results can contain a maximum of 2127 compound documents with 1 part each. Results with 2128 compound documents will fail if each have at least 1 part. Results can usually support up to 89 compound documents with 30 parts each (up to 2670 parts), but will fail with any more. Documents from compound document types created through IBM Content Manager Collaboration ServicesIBM CMIS for Content Manager will have a maximum of 1 part unless modified by another IBM Content Manager application. The limitation supports the default maximum results size of 1500 for folder children and 500 for search with some room for compound documents. It is possible to have between 2128 and 2670 parts distributed among documents in the result set. But actual results vary and can be fewer than stated in this example.
DKRetrieveOptionICM.
behaviorPartsAttributesCoreOnly(true)
The
optimization is directly limited by the stored procedure size currently
configured for your IBM Content
Manager library
server, which is usually 320K by default. Actual stored procedure
sizes can vary and can be customized. The default stored procedure
size can support reasonable numbers that fit within the default settings
and expectations for many applications.Request fewer results. If the application allows you to change the number of results requested such as the page size in a web based application, select a smaller number for this particular operation.
Use document types that are optimized for normal documents with a single binary. Do not use documents that are classified for compound documents. By reducing the number of compound document instances, you reduce the possibility of returning too many in any result set.
You can also ask your administrator to disable the optimization that causes this error.
Either accept the limitation and keep the optimization enabled, or turn off the optimization. You can disable the optimization by changing the configuration setting in cmpathservice.properties to documentModelRetrieveOptimized=false.
For documents, use item types classified as “resource” which are optimized for normal documents with a single binary.
If this error occurs when the maximum number or all results are requested, you can change the configuration settings for maximum number of folder children or search results per call.
It is not recommended that you change the stored procedure size to work around this error.