<!-- 
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-18207] Allow Queries for limit String sizes</title>
                <link>https://jira.mongodb.org/browse/SERVER-18207</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Please add an option to limit maximum size of retrieved strings. The limit should apply to any STRING (or BLOB).&lt;/p&gt;

&lt;p&gt;Motivation:&lt;br/&gt;
Our application parses data from MongoDB repositories that are populated by other application. Documents can have potentially large CLOB objects can be added to arbitrary points. The application retrieve the data, present the user with &quot;summary&quot; (e.g., for large strings only the first few characters of the CLOB are display, followed by &quot;...&quot;), same for arrays, or other complex objects. The full entry is expanded once the user choose a specific document, and part of the document.&lt;/p&gt;

&lt;p&gt;The above change will reduce the amount of data that need to be fetched on the original calls. Currently, 100X data has transferred from Mongo, since there is no way to cap the size of the CLOB, which could be anywhere.&lt;/p&gt;</description>
                <environment></environment>
        <key id="200288">SERVER-18207</key>
            <summary>Allow Queries for limit String 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:47:47 +0000</created>
                <updated>Sat, 16 May 2015 11:22:01 +0000</updated>
                            <resolved>Fri, 15 May 2015 21:40:03 +0000</resolved>
                                                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="915987" author="yair.lenga@gmail.com" created="Sat, 16 May 2015 11:21:00 +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;</comment>
                            <comment id="915718" author="ramon.fernandez" created="Fri, 15 May 2015 21:39:50 +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 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;, or at list like this could be addressed by changes for &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; and/or &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 resolve this ticket.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="898075" author="yair.lenga@gmail.com" created="Sat, 25 Apr 2015 14:18:48 +0000"  >&lt;p&gt;Situation similar to: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18208&quot; title=&quot;Allow Queries to find  ARRAY sizes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18208&quot;&gt;&lt;del&gt;SERVER-18208&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For the application to use the &apos;$substr&apos;, it need to know the location and the name of of the attribute that will have large strings.&lt;/p&gt;

&lt;p&gt;In the case that attributes are added on a regular basis, taking advantage of the MongoDB ability to extend the document dynamically, the reading application does not have a way to know which attributes will have large strings. The application is forced to query the whole document to find out what data is available.&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;

&lt;p&gt;In my specific case, data can be insert into the MongoDB Document, raising the size of the document to &amp;gt;2MB. Our application is expected to fetch the data sets base, and show the user a list of available data items/documents in a grid. He can then choose which data item to expand. We have to fetch ~400 MB, of data (200 rows, 2MB) just to find the available data. Having this cap, will allow us to reduce the queries data to &amp;lt; 1MB.&lt;/p&gt;

&lt;p&gt;Comparing with JDBC, it is equivalent to running &quot;sp_columns&quot; to find column attributes, and then forming a &quot;select a1, a2, a3, ...&quot;, as oppose to &quot;select *&quot;.&lt;/p&gt;</comment>
                            <comment id="898071" author="ramon.fernandez" created="Sat, 25 Apr 2015 14:06:39 +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;, I believe what you&apos;re looking for is &lt;a href=&quot;http://docs.mongodb.org/manual/reference/operator/aggregation/substr/#substr-aggregation&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the $substr aggregation operator&lt;/a&gt;. Please try it out and let us know if it works for you.&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:06:39 +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|hrl7f3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs8rkn:</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|hsa1vj:</customfieldvalue>

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