Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2075

C# - MapReduce (MongoDB.Driver) does not work when Limit is passed as MapReduceOptions

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Won't Fix
    • Affects Version/s: 2.4.4
    • Fix Version/s: None
    • Component/s: Read Operations
    • Labels:

      Description

      Mongo database: 3.0.4
      MongoDB.Driver: 2.4.4

      I am trying to make a Map reduce from a collection, and as MapReduceOption I am passing the option Limit (e.g. 10).
      The database where is this collection is not sharded.

      However when i run my code it breaks with this message:
      unknown m/r field for sharding: limit

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rstam Robert Stam
              Reporter:
              rribeiro Rui Ribeiro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: