searchParameters.setSkipCount((int) parameters.get(PARAMETER_SKIP));
searchParameters.addSort("@" + ContentModel.PROP_MODIFIED, true);
searchParameters.addSort("@" + ContentModel.PROP_NODE_DBID, true);
<BUG>searchParameters.setUseInMemorySort(false);
searchParameters.setLimitBy(LimitBy.FINAL_SIZE);
searchParameters.setLimit((int) parameters.get(PARAMETER_LIMIT));</BUG>
return searchParameters;
}
private static final String getQuery(Map<String, Object> parameters) {
String query = "";

searchParameters.setSkipCount((int) parameters.get(PARAMETER_SKIP));
searchParameters.addSort("@" + ContentModel.PROP_MODIFIED, true);
searchParameters.addSort("@" + ContentModel.PROP_NODE_DBID, true);
return searchParameters;
}
private static final String getQuery(Map<String, Object> parameters) {
String query = "";
