<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:55:27 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-84591] pymongo does not error on presence of $search against a view created with an empty pipeline</title>
                <link>https://jira.mongodb.org/browse/SERVER-84591</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;h3&gt;&lt;a name=&quot;Detailedstepstoreproducetheproblem%3F&quot;&gt;&lt;/a&gt;Detailed steps to reproduce the problem?&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;Use an Atlas DB/Cluster with a search index&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Query with $search as first stage in pipeline against a view&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;-- pymongo correctly provides and error&lt;/em&gt;&lt;br/&gt;
pymongo.errors.OperationFailure: $_internalSearchMongotRemote is only valid as the first stage in a pipeline,&lt;br/&gt;
&lt;em&gt;Query with $search as a first stage in pipeline against a view that has been defined without a pipeline.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;-- pymongo does not provide an error.&#160; i believe an empty cursor is returned&lt;/em&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Definitionofdone%3Awhatmustbedonetoconsiderthetaskcomplete%3F&quot;&gt;&lt;/a&gt;Definition of done: what must be done to consider the task complete?&lt;/h3&gt;

&lt;p&gt;pymongo should return an error similar to what it does for using $search against views without pipeline definitions as it does against views with a pipeline definion.&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;TheexactPythonversionused%2Cwithpatchlevel%3A&quot;&gt;&lt;/a&gt;The exact Python version used, with patch level:&lt;/h3&gt;

&lt;p&gt;3.9.6 (default, Nov 10 2023, 13:38:27)&#160;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Clang 15.0.0 (clang-1500.1.0.2.5)&amp;#93;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;TheexactversionofPyMongoused%2Cwithpatchlevel%3A&quot;&gt;&lt;/a&gt;The exact version of PyMongo used, with patch level:&lt;/h3&gt;

&lt;p&gt;4.6.1&lt;br/&gt;
True&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;DescribehowMongoDBissetup.LocalvsHosted%2Cversion%2Ctopology%2Cloadbalanced%2Cetc.&quot;&gt;&lt;/a&gt;Describe how MongoDB is set up. Local vs Hosted, version, topology, load balanced, etc.&lt;/h3&gt;

&lt;p&gt;Atlas cluster, no sharding.&#160; Using search.&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Theoperatingsystemandversion%28e.g.Windows7%2COSX10.8%2C...%29&quot;&gt;&lt;/a&gt;The operating system and version (e.g. Windows 7, OSX 10.8, ...)&lt;/h3&gt;

&lt;p&gt;Mac OS 14.1.2 (23B92)&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Webframeworkorasynchronousnetworklibraryused%2Cifany%2Cwithversion%28e.g.Django1.7%2Cmodwsgi4.3.0%2Cgevent1.0.1%2CTornado4.0.2%2C...%29&quot;&gt;&lt;/a&gt;Web framework or asynchronous network library used, if any, with version (e.g. Django 1.7, mod_wsgi 4.3.0, gevent 1.0.1, Tornado 4.0.2, ...)&lt;/h3&gt;

&lt;p&gt;None&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2535886">SERVER-84591</key>
            <summary>pymongo does not error on presence of $search against a view created with an empty pipeline</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="1" iconUrl="https://jira.mongodb.org/images/icons/statuses/open.png" description="">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="seth.payne@mongodb.com">Seth Payne</reporter>
                        <labels>
                    </labels>
                <created>Wed, 3 Jan 2024 00:05:25 +0000</created>
                <updated>Fri, 5 Jan 2024 16:10:35 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                        <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 3 Jan 2024 01:09:41 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 weeks, 1 day 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>seth.payne@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>seth.payne@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i36ihb:</customfieldvalue>

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

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