02-15-2010 04:16 AM
02-15-2010 04:19 AM
02-15-2010 04:47 AM
02-15-2010 05:10 AM
…
SearchParameters sp = new SearchParameters();
sp.addStore(getStoreRef());
sp.setLanguage(SearchService.LANGUAGE_LUCENE);
sp.setQuery("PATH:\"//.\"");
sp.addSort("ID", true);
ResultSet results = null;
try
{
results = serviceRegistry.getSearchService().query(sp);
for(ResultSetRow row : results)
{
NodeRef currentNodeRef = row.getNodeRef();
…
}
}
finally
{
if(results != null)
{
results.close();
}
}
…
* Sorting is based in Java string ordering
* This is not so good for numeric data
* We treat numeric and date information so it does order lexically.
* Tokenising and sort can give odd results or fail
* You can only order with one locale.
02-15-2010 05:43 AM
02-15-2010 06:00 AM
02-15-2010 07:14 AM
02-15-2010 07:21 AM
02-15-2010 07:35 AM
02-15-2010 10:13 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.