ps.setString(1, startDate);
ps.setString(2, endDate);
rs = ps.executeQuery();
while (rs.next()) {
results.add(new Search(StringUtils.stripToAlphaNum(rs
.getString("query")), rs.getInt("queryCount")));
}
} catch (SQLException e) {
Logger.error("StatsDAO getSearchQueriesAndCounts failure: "
+ e.toString());