As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
ResultSet resultSet = searchService.query(storeRef, SearchService.LANGUAGE_LUCENE, query); SearchParameters parameters = new SearchParameters(); String field = "{http://www.alfresco.org/model/content/1.0}created"; parameters.addSort(field, false); List<NodeRef> nodes = new SortedResultSet(resultSet, nodeService, parameters, namespaceService).getNodeRefs().subList(0,10);
SearchParameters parameters = new SearchParameters(); String field = "{http://www.alfresco.org/model/content/1.0}created"; parameters.addSort(field, false);
SearchParameters parameters = new SearchParameters(); String field = "{http://www.alfresco.org/model/content/1.0}created"; parameters.addSort(org.alfresco.repo.search.impl.lucene.QueryParser.escape(field), false);
String field = org.alfresco.repo.search.impl.lucene.QueryParser.escape("@cm:created");