<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:37:17 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-15204] Skip validation for stored geometry if a 2dsphere index exists</title>
                <link>https://jira.mongodb.org/browse/SERVER-15204</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When parsing a polygon, we always validate the geometries, like checking whether it&apos;s self-intersected among other sanity checks. (S2 already has optimizations for this rather than using the naive O(n^2) algorithm). The dependency graph given by CPU profiling shows this validation takes 80% of the running time for polygons with thousands vertices. If there is already an index on the geo field, this validation is guaranteed by the index, so we can skip it for stored geometries.&lt;/p&gt;</description>
                <environment></environment>
        <key id="157501">SERVER-15204</key>
            <summary>Skip validation for stored geometry if a 2dsphere index exists</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="siyuan.zhou@mongodb.com">Siyuan Zhou</reporter>
                        <labels>
                    </labels>
                <created>Wed, 10 Sep 2014 18:57:07 +0000</created>
                <updated>Wed, 8 Sep 2021 18:57:37 +0000</updated>
                            <resolved>Thu, 6 Aug 2015 16:14:29 +0000</resolved>
                                    <version>2.7.6</version>
                                    <fixVersion>3.1.7</fixVersion>
                                    <component>Geo</component>
                                        <votes>2</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="997582" author="xgen-internal-githook" created="Wed, 5 Aug 2015 20:01:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;kevinAlbs&apos;, u&apos;name&apos;: u&apos;Kevin Albertson&apos;, u&apos;email&apos;: u&apos;kevin.albertson@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-15204&quot; title=&quot;Skip validation for stored geometry if a 2dsphere index exists&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-15204&quot;&gt;&lt;del&gt;SERVER-15204&lt;/del&gt;&lt;/a&gt; Skip unnecessary validation on indexed polygons and lines&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/53ead9a708208978228de918fafa7835655e0632&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/53ead9a708208978228de918fafa7835655e0632&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="727339" author="siyuan.zhou@10gen.com" created="Thu, 25 Sep 2014 18:49:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=aplimovil&quot; class=&quot;user-hover&quot; rel=&quot;aplimovil&quot;&gt;aplimovil&lt;/a&gt; - Sorry for the confusion. This issue only affects users who store polygons. I mentioned this ticket in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13568&quot; title=&quot;Near search using find() with 2DSphere index is very slow vs. using a 2D index&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13568&quot;&gt;&lt;del&gt;SERVER-13568&lt;/del&gt;&lt;/a&gt; because that use case is $geoIntersect query, which is different from you original issue about $near/$nearSphere in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13568&quot; title=&quot;Near search using find() with 2DSphere index is very slow vs. using a 2D index&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13568&quot;&gt;&lt;del&gt;SERVER-13568&lt;/del&gt;&lt;/a&gt;. So I tried to redirect him to the right place to track his issue.&lt;/p&gt;</comment>
                            <comment id="726741" author="aplimovil" created="Thu, 25 Sep 2014 04:24:36 +0000"  >&lt;p&gt;I&apos;m confused then. How&apos;s this ticket related to the &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13568&quot; title=&quot;Near search using find() with 2DSphere index is very slow vs. using a 2D index&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13568&quot;&gt;&lt;del&gt;SERVER-13568&lt;/del&gt;&lt;/a&gt; ticket then? I say this because you reference this &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-15204&quot; title=&quot;Skip validation for stored geometry if a 2dsphere index exists&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-15204&quot;&gt;&lt;del&gt;SERVER-15204&lt;/del&gt;&lt;/a&gt; ticket in there.&lt;/p&gt;</comment>
                            <comment id="726301" author="siyuan.zhou@10gen.com" created="Wed, 24 Sep 2014 18:30:24 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=aplimovil&quot; class=&quot;user-hover&quot; rel=&quot;aplimovil&quot;&gt;aplimovil&lt;/a&gt;, please allow me to clarify this issue. I believe this is a separate issue from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13568&quot; title=&quot;Near search using find() with 2DSphere index is very slow vs. using a 2D index&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13568&quot;&gt;&lt;del&gt;SERVER-13568&lt;/del&gt;&lt;/a&gt;, because in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13568&quot; title=&quot;Near search using find() with 2DSphere index is very slow vs. using a 2D index&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13568&quot;&gt;&lt;del&gt;SERVER-13568&lt;/del&gt;&lt;/a&gt; the parsing of points is very light when &quot;running a find() on a GeoJSON Point field&quot;. This parsing issue only happens on complex geometries, like polygons.&lt;/p&gt;

&lt;p&gt;Siyuan,&lt;br/&gt;
Thanks&lt;/p&gt;</comment>
                            <comment id="725648" author="aplimovil" created="Wed, 24 Sep 2014 01:09:52 +0000"  >&lt;p&gt;This issue causes $near/$nearSphere to be very slow when using 2DSphere indexes, as filed in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13568&quot; title=&quot;Near search using find() with 2DSphere index is very slow vs. using a 2D index&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13568&quot;&gt;&lt;del&gt;SERVER-13568&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Please update the aforementioned ticket when this is tackled, so we can confirm the fix with the original test scenario.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="212594">SERVER-19097</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1792697">SERVER-57938</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 15 Sep 2014 13:40:07 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 28 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-19097'>SERVER-19097</a></s>]]></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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-184</customfieldvalue>
                        </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>dbeng-pm-bot</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 28 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>aplimovil</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kevin.albertson@mongodb.com</customfieldvalue>
            <customfieldvalue>siyuan.zhou@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlo9j:</customfieldvalue>

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

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

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