04-20-2009 11:24 AM
SearchParameters parameters = new SearchParameters();
parameters.addStore(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE);
parameters.setLanguage(SearchService.LANGUAGE_LUCENE);
parameters.setQuery(query);
QName recivedDate = QName.createQName(CustomMailContentModel.NAMESPACE_MAIL_MODEL_URI, CustomMailContentModel.PROP_MAIL_RECEIVED_DATE);
parameters.addSort(recivedDate, false);
// execute query
ResultSet resultSet = searchService.query(parameters);
04-24-2009 08:47 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.