} else if (filter.startsWith("modified:") && filter.length() > "modified:".length()) {
String modified = StringUtils.trim(filter.substring("modified:".length()));
if ("today".equals(modified))
q.withModificationDateBetween(today.getTime()).and(tomorrow.getTime());
else if ("yesterday".equals(modified))
q.withModificationDateBetween(yesterday.getTime()).and(today.getTime());
else
q.withCreationDate(tomorrow.getTime());
} else if (filter.startsWith("publisher:") && filter.length() > "publisher:".length()) {
String published = StringUtils.trim(filter.substring("published:".length()));
if ("today".equals(published))