@Override
public DocComparator getComparator(IndexReader reader, int docbase)
throws IOException {
if (!(reader instanceof BoboIndexReader)) throw new IllegalStateException("reader not instance of "+BoboIndexReader.class);
BoboIndexReader boboReader = (BoboIndexReader)reader;
final FacetDataNone dataCache = _facetHandler.getFacetData((BoboIndexReader) reader);
return new DocComparator() {
@Override
public Comparable value(ScoreDoc doc) {
return 1;