query.add(q, BooleanClause.Occur.MUST);
}
int offset = params.getInt(FacetParams.FACET_CROSS_OFFSET, 0);
int limit = params.getInt(FacetParams.FACET_CROSS_LIMIT, 100);
int limit_offset=offset+limit;
FdtMdrillCollector coll=new FdtMdrillCollector(limit_offset+2,searcher.maxDoc());
searcher.ScoreFind(query, null,coll);
result.setDocSet(new BitDocSet(coll.getBits()));
}
}else{
searcher.search(result,cmd);
}