protected SearchRequestAggregationKey createAggregationKey(PortletActionExecutionEvent e,
EventAggregationContext eventAggregationContext, AggregationIntervalInfo intervalInfo,
AggregatedGroupMapping aggregatedGroup) {
final TimeDimension timeDimension = intervalInfo.getTimeDimension();
final DateDimension dateDimension = intervalInfo.getDateDimension();
final AggregationInterval aggregationInterval = intervalInfo.getAggregationInterval();
String query = e.getParameters().get(TARGET_PARAM).get(0);
SearchRequestAggregationKey key = new SearchRequestAggregationKeyImpl(dateDimension,timeDimension,aggregationInterval,aggregatedGroup,query);
return key;
}