<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:45:08 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[DOCS-3168] Suggestion for /manual/reference/command/mapReduce/</title>
                <link>https://jira.mongodb.org/browse/DOCS-3168</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;blockquote&gt;&lt;p&gt;mapReduce collection The name of the collection on which you want to perform map-reduce.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;So &#8212; every document in this collection is given as an input to the &quot;map&quot; step, or the &quot;query&quot; step if there is one? Consider making this explicit.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;You may output to a collection when performing map reduce operations on the primary members of the set; on secondary members you may only use the inline output.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;By &quot;set&quot; do you mean &quot;replica set&quot;?&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;jsMode&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The formatting is a bit off. &quot;If false&quot; is outside of a blockquote, but &quot;if true&quot; is inside of the &quot;if false&quot; blockquote instead of being parallel to it. Also the final clause &quot;The jsMode defaults to false.&quot; should be outside of the block quote.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;The following is a prototype usage of the mapReduce command:&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Is this intended to be a &lt;b&gt;prototype&lt;/b&gt; usage, with blanks for people to fill in? Or an &lt;b&gt;example&lt;/b&gt; of usage, something which could be typed in and run as-is? It&apos;s not actually either one. The mapFunction omits the body code, so it can&apos;t be an example. The query has code, so it can&apos;t be a prototype.&lt;/p&gt;

&lt;p&gt;There&apos;s an actual example later, so perhaps this should be an actual prototype.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;The map function exhibits the following behaviors:&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The list following this is mostly &lt;b&gt;requirements&lt;/b&gt; not &lt;b&gt;behaviors&lt;/b&gt;, so it might be better to say &quot;The map function has the following requirements&quot;&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;The reduce function exhibits the following behaviors:&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;As with the map function, this is mostly &lt;b&gt;requirements&lt;/b&gt;&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;the type of the return object must be identical to the type of the value emitted by the map function to ensure that the following operations is true:&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Non-sequitur, since having identical types does not ensure that the following item is true. Both clauses are important &#8212; the only problem is the connection between them, which is given as &quot;because&quot; but needs to be &quot;and&quot;.&lt;/p&gt;

&lt;p&gt;Break this into two bullet points, one about the types and one showing the equation.&lt;/p&gt;

&lt;p&gt;(Also, it&apos;s not a &quot;following &lt;b&gt;operations&lt;/b&gt;&quot;. It&apos;s a &quot;following &lt;b&gt;equation&lt;/b&gt;&quot;)&lt;/p&gt;

&lt;p&gt;Also also, if you&apos;re using words like &quot;idempotent&quot;, the first equation could be called &quot;associative&quot;, and the third one &quot;commutative&quot;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="131201">DOCS-3168</key>
            <summary>Suggestion for /manual/reference/command/mapReduce/</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="andrew.aldridge@mongodb.com">Andrew Aldridge</assignee>
                                    <reporter username="bard.bloom@10gen.com">bard.bloom@10gen.com</reporter>
                        <labels>
                            <label>audit-2014</label>
                    </labels>
                <created>Tue, 15 Apr 2014 11:36:59 +0000</created>
                <updated>Mon, 16 Mar 2015 23:56:03 +0000</updated>
                            <resolved>Wed, 17 Sep 2014 16:06:07 +0000</resolved>
                                                    <fixVersion>v1.3.11</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="720925" author="xgen-internal-githook" created="Wed, 17 Sep 2014 16:49:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;i80and&apos;, u&apos;name&apos;: u&apos;Andrew Aldridge&apos;, u&apos;email&apos;: u&apos;i80and@foxquill.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-3168&quot; title=&quot;Suggestion for /manual/reference/command/mapReduce/&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-3168&quot;&gt;&lt;del&gt;DOCS-3168&lt;/del&gt;&lt;/a&gt;: mapReduce cleanup&lt;/p&gt;

&lt;p&gt;Signed-off-by: kay &amp;lt;kay.kim@10gen.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/61c65d48a79eade13ec4001519ded584919ed6ba&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/61c65d48a79eade13ec4001519ded584919ed6ba&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10855" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Actual Time</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 11 Sep 2014 21:55:55 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 22 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 22 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.aldridge@mongodb.com</customfieldvalue>
            <customfieldvalue>bard.bloom@10gen.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrr4zr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrf61b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1060</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hryr1z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>