Increase Search Result Threshold Value in Alfresco

One the main requirement for any of Content Management system is that it should have strong search capabilities. Once all documents are stored in CMS user should be able to search them easily based on metadata or text content. Alfresco use Lucene search engine to assist this search capability and it is pretty strong and efficient. Out of box alfresco search is being limited to fetch only 1000 records during search to make it efficient but for larger repositories there are many times where we need to remove this search restriction on result size.

So, here are steps to remove that search result restriction on alfresco search.

To increase search result size you need to add following properties in

You will see search restriction are removed you will be able to fetch more than 1000 records at a times. Still there is a maximum limit of 20000 records and it is always advisable to have some upper limit defined on your search so that you will not run out of memory even by mistake if you fire some kind of query which could have very large result set. Hope this would help to resolve your issue.

Author Spotlight

mitpatoliya

I love opensource technologies working with those technologies from the time I have stepped in to the Software Industry. Alfresco CMS is my area of expertise. I have worked on various complex implementations which involved integration of Alfresco with other technologies, extensively worked with JBPM workflows and Webscripts.