Once upon a time Alfresco used Apache Lucene as search engine….
This was great until you had particular needs like, for example, a long duration query or a query that retrieves a huge amount of objects. It was more than a year ago when I wrote a post talking how Alfresco retrieves 1,000 results maximum or query for a couple of minutes.
As you can read in the post, the most suggested solution to the problem was to migrate the indexing engine to Apache Solr. At that time, Alfresco supported both the engines and considered Solr as its future.
Today Lucene and Solr are always supported and Solr is probably the most used, but regarding the same issue, probably something is coming back again.
>> https://issues.alfresco.com/jira/browse/ALF-20567(*) <<
As you can read from the JIRA issue, in Alfresco 4.2.e SOLR also returns a maximum of 1,000 results and to solve the issue is suggested to set the parameters below in the alfresco-global.properties file.
This could have a high impact on “big” queries or “long” queries so I would like to share this information with all of you to prevent problems or nights spent on the debugger. 😉
I hope this will help you.
(*) Thanks to Francesco Fornasari and Christian Tiralosi for the hint.