adding support for facet mincount, sort and limit