05-29-2009 06:28 AM
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);
06-02-2009 01:10 AM
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");
11-26-2010 04:05 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.