final Map<String, Object> jsonResponse = new HashMap<String, Object>();
final HashTagStatsBean tagStatsBean = new HashTagStatsBean();
final TypeSearchResult filterType = TypeSearchResult.getTypeSearchResult(filter);
final SearchPeriods searchPeriod = SearchPeriods.getPeriodString(period);
if (filterType == null) {
throw new EnMeNoResultsFoundException("type not found");
} else {
if (filterType.equals(TypeSearchResult.HASHTAGRATED)) {
// hits /period
tagStatsBean.setTotalHits(getStatisticsService().getHashTagHitsbyName(tagName,
filterType, request, searchPeriod));