@Override public void postProcess() throws IOException {
  super.compute();
  for (  Map<String,StatsCollector[]> f : fieldFacetCollectors.values()) {
    for (    StatsCollector[] arr : f.values()) {
      for (      StatsCollector b : arr) {
        b.compute();
      }
    }
  }
  basicsAndFieldFacetsComputed=true;
  final Filter filter=docs.getTopFilter();
  if (rangeFacets != null) {
    processRangeFacets(filter);
  }
  if (queryFacets != null) {
    processQueryFacets(filter);
  }
}

@ Override public void postProcess ( ) throws IOException { super . compute ( ) ; for ( Map < String , StatsCollector [ ] > f : fieldFacetCollectors . values ( ) ) { for ( StatsCollector [ ] arr : f . values ( ) ) { for ( StatsCollector b : arr ) { b . compute ( ) ; } } } basicsAndFieldFacetsComputed = true ; final Filter filter = docs . getTopFilter ( ) ; if ( rangeFacets != null ) { processRangeFacets ( filter ) ; } if ( queryFacets != null ) { processQueryFacets ( filter ) ; } }
processes the query and range facets . must be called if range and / or query facets are supported .
