class ElasticsearchHelper {

    public List<TagTypeIndexSearchResponseDto> getNestedTagTagIndexSearchResponseDto(SearchResponse searchResponse)
    {
        Terms tagTypeCodeAgg = getNestedAggregation(searchResponse, TAG_FACET_AGGS, TAGTYPE_CODE_AGGREGATION);

        return getTagTypeIndexSearchResponseDtosFromTerms(tagTypeCodeAgg);
    }

}