Query query = new TermQuery(new Term("CATEGORY", category));
Sort sort = new Sort(new SortField("CREATED-AT", SortField.STRING, true));
try {
return indexSearcher.search(query, null, maxDocument, sort);
} catch (IOException e) {
throw new EventSearchServiceException(e);
}
}