public List<String> search(String term, String category, String sortOrder, boolean beforeDeadlineOnly, int offset, int limit) throws EventSearchServiceException {
try {
TopDocs docs = LuceneService.get().search(term, category, sortOrder, beforeDeadlineOnly, offset + limit);
return convertToIds(docs, offset);
} catch (ParseException e) {
throw new EventSearchServiceException(e);
}
}