String resultType;
if (child == null) {
resultType = config.getValue(Geonet.SearchResult.RESULT_TYPE, Geonet.SearchResult.ResultType.HITS);
} else {
resultType = child.getValue();
child.detach();
}
_summaryConfig = _luceneConfig.getTaxonomy().get(resultType);
final Element summaryItemsEl = request.getChild(Geonet.SearchResult.SUMMARY_ITEMS);