<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38:12 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>[CSHARP-923] Using $eq on a geospatial indexed GeoJsonPoint&lt;GeoJson2DCoordinates&gt; field, uses a basic cursor instead of index</title>
                <link>https://jira.mongodb.org/browse/CSHARP-923</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;I have a class which has an indexed GeoJsonPoint&amp;lt;GeoJson2DCoordinates&amp;gt;, using $near works perfectly well, but when I do the following:&lt;/p&gt;

&lt;p&gt;IMongoQuery query = Query&amp;lt;Player&amp;gt;.EQ(p =&amp;gt; p.RandomGeoIdentifier, RandomID);&lt;br/&gt;
return players.Find(query).SetLimit(1).Size() == 0;&lt;/p&gt;

&lt;p&gt;It does a full table scan without using the index.&lt;/p&gt;

&lt;p&gt;Adding a hint, causes the query to scan 1 object if exists.&lt;br/&gt;
return players.Find(query).SetHint(&quot;Random Geo ID&quot;).SetLimit(1).Size() == 0;&lt;/p&gt;

&lt;p&gt;I believe this is a bug and Mongo should use this index by default.&lt;/p&gt;</description>
                <environment>Windows, nothing special besides that (replicated on Win7/Server 2012)</environment>
        <key id="118206">CSHARP-923</key>
            <summary>Using $eq on a geospatial indexed GeoJsonPoint&lt;GeoJson2DCoordinates&gt; field, uses a basic cursor instead of index</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="-1">Unassigned</assignee>
                                    <reporter username="rejwan">Ron Rejwan</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Mar 2014 11:25:07 +0000</created>
                <updated>Tue, 5 Apr 2016 00:28:46 +0000</updated>
                            <resolved>Fri, 20 Jun 2014 14:38:55 +0000</resolved>
                                    <version>1.8.3</version>
                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="520307" author="craiggwilson" created="Thu, 20 Mar 2014 20:21:15 +0000"  >&lt;p&gt;Hi Ron, sorry for the late reply.&lt;/p&gt;

&lt;p&gt;Can you replicate this behavior in the shell?  I say that because this seems more like a server problem than a driver issue...&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Craig&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrwjxb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>103958</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>