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

Add support for sorting and limiting inline map/reduce

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • None
    • None
    • MapReduce
    • None

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            restore Oliver
            Votes:
            17 Vote for this issue
            Watchers:
            19 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: