anchor.diff:              end;
           _ ->
               % ensure limit in group query >0
  -            LimitValue = parse_positive_int_param("limit", QueryArgs#index_query_args.limit, 
  +            LimitValue = parse_positive_int_param("limit", QueryArgs#index_query_args.limit,
                                                     "max_limit", "200"),
               UseNewApi = Grouping#grouping.new_api,
               case dreyfus_fabric_group1:go(DbName, DDoc, IndexName, QueryArgs) of
  
positive.code:     {hd(K0), facets_to_json(C2)}.
  
  send_grouped_response(Req, {TotalHits, TotalGroupedHits, Groups}, UseNewApi) ->
      GroupResponsePairs = case UseNewApi of 
          true -> [{total_rows, TotalHits}, {groups, Groups}];
          false -> [{total_hits, TotalHits}, {total_grouped_hits, TotalGroupedHits}, {groups, Groups}]
      end,
  
negative.code:     if IncludeDocs ->
          {ok, JsonDocs} = dreyfus_fabric:get_json_docs(DbName, Ids),
          lists:zipwith(fun(Hit, {Id, Doc}) ->
                  case Hit of
                      {Id, Order, Fields} ->
                          {[{id, Id}, {order, Order}, {fields, {Fields}}, Doc]};
                      {Id, Order, Fields, Highlights} ->
                          {[{id, Id}, {order, Order}, {fields, {Fields}},
                            {highlights, {Highlights}}, Doc]}
                  end
              end, HitData, JsonDocs);
  