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