mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged BRANCHES/DEV/V4.1-BUG-FIX to HEAD
41731: Fix for ALF-16002 - Dashlet - My Documents - I've recently modified - executes unlimited query. In SOLR unlimited (all sites query) is really unlimited, for Lucene it is not. Improved jscript Search debugging to correctly output limit value on query. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@41758 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -794,7 +794,7 @@ public class Search extends BaseScopableProcessorExtension
|
|||||||
Collection<ScriptNode> set = null;
|
Collection<ScriptNode> set = null;
|
||||||
|
|
||||||
if (logger.isDebugEnabled())
|
if (logger.isDebugEnabled())
|
||||||
logger.debug("query=" + sp.getQuery() + " limit=" + sp.getLimit());
|
logger.debug("query=" + sp.getQuery() + " limit=" + (sp.getLimitBy() != LimitBy.UNLIMITED ? sp.getLimit() : "none"));
|
||||||
|
|
||||||
// perform the search against the repo
|
// perform the search against the repo
|
||||||
ResultSet results = null;
|
ResultSet results = null;
|
||||||
|
Reference in New Issue
Block a user