Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3973

Add support for sorting and limiting inline map/reduce

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: MapReduce
    • Labels:
      None
    • Query Optimization

      I don't need permanent outputs, so I switched to inline. Now the whole
      map/reduce result is returned. Before I had the chance to query the
      tmp collection with find(),sort() and limit(). Is there any way to
      sort and limit the output of an inline map/reduce?

      In my case I have like 10,000 items at my inline output, and I don't
      want to crop it with my client language to 10 results.

      Might be an improvement to offer something to do this.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            restore Oliver
            Votes:
            17 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: