<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:46:53 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>[SERVER-18208] Allow Queries to find  ARRAY sizes</title>
                <link>https://jira.mongodb.org/browse/SERVER-18208</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Please As an alternative (or in addition), the actual size of the array should be returned.&lt;/p&gt;

&lt;p&gt;Motivation:&lt;br/&gt;
Related to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18207&quot; title=&quot;Allow Queries for limit String sizes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18207&quot;&gt;&lt;del&gt;SERVER-18207&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
Our application parses data from MongoDB repositories that are populated by other application. Documents can have potentially large ARRAYS objects at arbitrary points. The application retrieve the data, present the user with &quot;summary&quot; (e.g., show the first 3 values of each array followed by &quot;...&quot;). The full array is displayed once the user choose a specific document, and part of the document.&lt;/p&gt;

&lt;p&gt;The above change will allow the application to locate all the arrays in a specific document, and form queries for the required amount of data (using array slices) from each array.&lt;/p&gt;</description>
                <environment></environment>
        <key id="200289">SERVER-18208</key>
            <summary>Allow Queries to find  ARRAY sizes</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="3">Duplicate</resolution>
                                        <assignee username="ramon.fernandez@mongodb.com">Ramon Fernandez Marina</assignee>
                                    <reporter username="yair.lenga@gmail.com">Yair Lenga</reporter>
                        <labels>
                    </labels>
                <created>Sat, 25 Apr 2015 10:56:04 +0000</created>
                <updated>Sat, 16 May 2015 11:21:42 +0000</updated>
                            <resolved>Fri, 15 May 2015 21:41:24 +0000</resolved>
                                                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="915988" author="yair.lenga@gmail.com" created="Sat, 16 May 2015 11:21:42 +0000"  >&lt;p&gt;Posted &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18209?focusedCommentId=915986&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-915986&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;comment&lt;/a&gt; to reconsider on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18209&quot; title=&quot;Add QUERY option to limit ARRAY size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18209&quot;&gt;&lt;del&gt;SERVER-18209&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Yair&lt;/p&gt;</comment>
                            <comment id="915720" author="ramon.fernandez" created="Fri, 15 May 2015 21:41:03 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=yair.lenga%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;yair.lenga@gmail.com&quot;&gt;yair.lenga@gmail.com&lt;/a&gt;, this ticket also looks like a subset of the functionality requested in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18210&quot; title=&quot;Add query for document structure&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18210&quot;&gt;&lt;del&gt;SERVER-18210&lt;/del&gt;&lt;/a&gt; / &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13447&quot; title=&quot;provide $projection operator to get type of field&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13447&quot;&gt;&lt;del&gt;SERVER-13447&lt;/del&gt;&lt;/a&gt;, so I&apos;m going to fold this ticket into &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18210&quot; title=&quot;Add query for document structure&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18210&quot;&gt;&lt;del&gt;SERVER-18210&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="898073" author="yair.lenga@gmail.com" created="Sat, 25 Apr 2015 14:11:02 +0000"  >&lt;p&gt;For the application to use the &apos;$size&apos;, it need to know the location and the name of of the attribute where the array is stored.&lt;/p&gt;

&lt;p&gt;In the case that the database is extended on a regular basis, taking advantage of the MongoDB ability to extend the document dynamically, the reading application does not know where the large arrays are located.&lt;/p&gt;

&lt;p&gt;Having the ability to find out where the arrays are located, and their sizes, using the above feature, will make it possible for the application to identify the arrays and their sizes, and decide on which subset of arrays/indices to retrieve.&lt;/p&gt;</comment>
                            <comment id="898069" author="ramon.fernandez" created="Sat, 25 Apr 2015 14:02:13 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=yair.lenga%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;yair.lenga@gmail.com&quot;&gt;yair.lenga@gmail.com&lt;/a&gt;, you can already get the size of an array using a simple, one-stage aggregation pipeline &amp;#8211; please take a look at &lt;a href=&quot;http://docs.mongodb.org/manual/reference/operator/aggregation/size/#size-aggregation&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the $size operator&lt;/a&gt; for a description and a short example. Can you please try this out and see if it meets your needs?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="200291">SERVER-18210</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 25 Apr 2015 14:02:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 39 weeks, 4 days 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>yair.lenga@gmail.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 39 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>yair.lenga@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrl7ev:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsa1w7:</customfieldvalue>

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