Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7512291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:49:15+00:00 2026-05-29T23:49:15+00:00

Maybe this is something I am just missing, but is there any way to

  • 0

Maybe this is something I am just missing, but is there any way to change the way the structure of a map reduce comes out in the new collection? For instance, currently I have:

{ "_id" : id_for_item,
  "value" : { "item1" : 10,
              "item2" : 12,
              "item3" : 19
            } 
}

but I would like something like:

{ "_id" : id_for_item,
  "item1" : 10,
  "item2" : 12,
  "item3" : 19
}

Any help would be appreciated.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T23:49:17+00:00Added an answer on May 29, 2026 at 11:49 pm

    No, currently it is not possible. But there is a jira case here. You can vote up and wait. But it for sure will not be done soon, because of even not planned.

    If you accessing database though the any driver you can create method that will map m/r results to the structure you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Maybe this is something very easy to do it but so far it's taking
I may be missing something obvious here, but how could I rewrite this code
So, this may be a really stupid question, but I'm obviously missing something here.
Is there any way in C# to use a Regex, but only return (with
This code used to work. Then, maybe I changed something, somewhere (or if I
This may be something common and trivial, but I seem to be having trouble
This may be something covered in C# 101 but I haven't been able to
I realize something like this has been asked, but this may be a little
Maybe this is a dumb question, but do event listeners use CPU cycles like
Maybe this sounds a little bit crazy, but I need to come up with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.