<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:55:05 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-767] Limits do not seem to work for Geospatial queries with additional terms</title>
                <link>https://jira.mongodb.org/browse/SERVER-767</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Limits do not seem to work for Geospatial queries.  A count() on the returned result set always returns 100.&lt;/p&gt;</description>
                <environment>Linux/Ubuntu/64-bit</environment>
        <key id="11532">SERVER-767</key>
            <summary>Limits do not seem to work for Geospatial queries with additional terms</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="9">Done</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="gwhite">Greg White</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Mar 2010 15:28:17 +0000</created>
                <updated>Tue, 12 Jul 2016 00:27:12 +0000</updated>
                            <resolved>Wed, 17 Mar 2010 22:53:11 +0000</resolved>
                                    <version>1.3.3</version>
                                    <fixVersion>1.3.5</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="13839" author="eliot" created="Mon, 26 Apr 2010 13:51:15 +0000"  >&lt;p&gt;in a release&lt;/p&gt;</comment>
                            <comment id="13091" author="eliot" created="Wed, 17 Mar 2010 22:53:11 +0000"  >&lt;p&gt;same root problem as &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-777&quot; title=&quot;limit with $within&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-777&quot;&gt;&lt;del&gt;SERVER-777&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="13079" author="gwhite" created="Wed, 17 Mar 2010 12:39:03 +0000"  >&lt;p&gt;Retested with this version:&lt;/p&gt;

&lt;p&gt;Wed Mar 17 12:37:37 git version: 46fc051a74ec85910516309d436d5708c26c2576&lt;/p&gt;

&lt;p&gt;And the behavior is the same.&lt;/p&gt;</comment>
                            <comment id="13052" author="eliot" created="Tue, 16 Mar 2010 16:09:57 +0000"  >&lt;p&gt;pretty sure this was already fixed for 1.3.4&lt;br/&gt;
can you try again after 1.3.4 is out (24 hours)&lt;/p&gt;</comment>
                            <comment id="13049" author="gwhite" created="Tue, 16 Mar 2010 15:31:27 +0000"  >&lt;p&gt;A geospatial query with an additional term does not limit properly.  For example:&lt;/p&gt;


&lt;p&gt; res = biz.find({ &quot;l&quot; : &lt;/p&gt;
{ &quot;$near&quot; : [b.lat, b.lon]}
&lt;p&gt;, &quot;s&quot; : &lt;/p&gt;
{ &quot;$in&quot;: [58120628, 58120619, 58124600, 58120600]}
&lt;p&gt; }).limit(200)&lt;/p&gt;

&lt;p&gt;Will return often return fewer than 200 results, even if far, far, far more than 200 exist.&lt;/p&gt;

&lt;p&gt;What seems to happen is that the limit is applied to the first term, before the subsequent terms are processed, so, for example,  the Geo query may be returning 200, but only 8 of those match the $in clause, resulting in 8 results.&lt;/p&gt;

&lt;p&gt;What I&apos;d expect to see is 200 results (since, in my example, I have far more than 200 results), ordered by distance.&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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 16 Mar 2010 16:09:57 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 43 weeks, 2 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 43 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>gwhite</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpqen:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>22548</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|hsn7qv:</customfieldvalue>

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