Added limit, mincount, prefix for facet (code from jhherren)