selectedFieldNames[0].equals(Field.ANY)) {
return;
}
Set<String> selectedFieldNameSet = SetUtil.fromArray(
selectedFieldNames);
<BUG>Set<String> facetNames = searchContext.getFacets().keySet();

selectedFieldNameSet.addAll(facetNames);
</BUG>
selectedFieldNames = selectedFieldNameSet.toArray(

selectedFieldNames[0].equals(Field.ANY)) {
return;
}
Set<String> selectedFieldNameSet = SetUtil.fromArray(
selectedFieldNames);
Map<String, Facet> facets = searchContext.getFacets();
selectedFieldNameSet.addAll(facets.keySet());
selectedFieldNames = selectedFieldNameSet.toArray(
