return new FacetCountCollectorSource() {
@Override
public FacetCountCollector getFacetCountCollector(BoboIndexReader reader,
int docBase) {
FacetDataCache dataCache = PathFacetHandler.this.getFacetData(reader);
if (_multiValue){
return new MultiValuedPathFacetCountCollector(_name, _separator, sel, ospec,dataCache);
}
else{
return new PathFacetCountCollector(_name,_separator,sel,ospec,dataCache);