anchor.diff:          {false, true} ->
               Msg4 = <<"`partition` not supported on this index">>,
               throw({bad_request, Msg4})
  +    end,
  +
  +    case DbPartitioned of
  +        true ->
  +            MaxLimit = config:get("dreyfus", "max_limit", "2000"),
  +            parse_non_negative_int_param(
  +                "limit", Limit, "max_limit_partitions", MaxLimit);
  +        false ->
  +            MaxLimit = config:get("dreyfus", "max_limit", "200"),
  +            parse_non_negative_int_param("limit", Limit, "max_limit", MaxLimit)
       end,
   
       case GroupBy /= nil andalso is_binary(Partition) of
  
positive.code: parse_json_index_param(<<"sort">>, Value) ->
      [{sort, Value}];
  parse_json_index_param(<<"limit">>, Value) ->
      [{limit, parse_non_negative_int_param("limit", Value, "max_limit", "200")}];
  parse_json_index_param(<<"stale">>, <<"ok">>) ->
      [{stale, ok}];
  parse_json_index_param(<<"include_docs">>, Value) when is_boolean(Value) ->
  
negative.code:     QueryArgs = #index_query_args{
          include_docs = IncludeDocs,
          grouping = Grouping
      } = parse_index_params(Req, Db),
      validate_search_restrictions(Db, DDoc, QueryArgs),
      Response = case Grouping#grouping.by of
          nil ->
  