Are you on Alfresco 4.0.x?
All the times is this JIRA bug:
New FAQ added on this.
If you are interested in Alfresco Audit Analysis and Reporting (A.A.A.R.) and don’t want to waste your (precious) time to understand, install, configure and develop, A.A.A.R. is ready for the Cloud with a full installation on a virtual machine you can download and run without any restriction.
So, don’t install it but use it!
Here some useful links:
Did you know that Alfresco retrieves a maximum of 1,000 results in a single query, when using Apache Lucene?
Did you know that Alfresco stops a query after a couple of minutes of duration of a single query, when using Apache Lucene?
The reason is clear: Alfresco limits the number of results and duration of a single query to ensure a good level of performance of the whole system in the average case. And to do that Alfresco stops the execution of a query when only one of the two limits is reached.
For that reason you can obtain less than 1,000 results, even if the correct result should be 1,000 or more, because is reached a couple of minutes of the query. Or you can obtain a maximum of 1,000 results even if your query retrieves the results immediately.
Of course this is true in most of the cases but sometimes these settings could be a limit, you would like to change to solve your problems. To change the maximum number of retrieved results and/or the maximum duration of a query, you can modify the property file:
In these two settings:
# # Properties to limit resources spent on individual searches # # The maximum time spent pruning results system.acl.maxPermissionCheckTimeMillis=10000 # The maximum number of search results to perform permission checks against system.acl.maxPermissionChecks=1000
But remember to pay attention on that tuning…
Another suggested solution is to switch to Apache Solr Engine but not all the people think it’s a good idea.