Backported facet and kwargs parameters for group query method