<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:02:24 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-23108] db.grep() shell utility to search all collections</title>
                <link>https://jira.mongodb.org/browse/SERVER-23108</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Default behavior:&lt;br/&gt;
db.grep(&quot;search term&quot;)&lt;br/&gt;
OR&lt;br/&gt;
db.grep(ObjectId(&quot;56e69b8abd177faa0aab0bfd&quot;))&lt;br/&gt;
Goes through all indexed fields in all collections and lists all collections where matches exist&lt;/p&gt;


&lt;p&gt;Quick way to test:&lt;br/&gt;
&lt;a href=&quot;https://gist.github.com/blowhacker/c930142e967d3a123519&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gist.github.com/blowhacker/c930142e967d3a123519&lt;/a&gt;&lt;br/&gt;
copy the contents of this gist into a mongo shell and try db.grep( &amp;lt;something to grep&amp;gt;)&lt;/p&gt;</description>
                <environment></environment>
        <key id="272161">SERVER-23108</key>
            <summary>db.grep() shell utility to search all collections</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="backlog-server-stm">Backlog - Server Tooling and Methods (STM)</assignee>
                                    <reporter username="vain">navin kumar</reporter>
                        <labels>
                            <label>move-stm</label>
                    </labels>
                <created>Mon, 14 Mar 2016 11:11:42 +0000</created>
                <updated>Tue, 6 Dec 2022 04:31:07 +0000</updated>
                            <resolved>Fri, 3 Dec 2021 18:44:22 +0000</resolved>
                                                    <fixVersion>features we&amp;#39;re not sure of</fixVersion>
                                    <component>Shell</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="4230171" author="brooke.miller" created="Fri, 3 Dec 2021 18:44:22 +0000"  >&lt;p&gt;We&apos;ve deprecated the mongo shell in favor of the new &lt;a href=&quot;https://docs.mongodb.com/mongodb-shell/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongosh&lt;/a&gt;. Unfortunately, we aren&apos;t able to pursue improvements to the deprecated shell except in extreme cases, such as critical security fixes. Please start making use of &lt;a href=&quot;https://docs.mongodb.com/mongodb-shell/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongosh&lt;/a&gt; and let us know if it works for you in this case.&lt;/p&gt;</comment>
                            <comment id="1218815" author="ramon.fernandez" created="Tue, 29 Mar 2016 20:50:11 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=vain&quot; class=&quot;user-hover&quot; rel=&quot;vain&quot;&gt;vain&lt;/a&gt;, every piece of functionality that gets added is something that needs to be properly tested and maintained. In this particular case this functionality is something that can be implemented outside the database, so it&apos;s preferable to keep it that way to simplify our code base.&lt;/p&gt;

&lt;p&gt;You can use the &lt;a href=&quot;https://docs.mongodb.org/manual/mongo/#mongorc-js-file&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;.mongorc.js&lt;/tt&gt; file&lt;/a&gt; to implement this functionality for yourself. If you think others may find it useful you can always share it &amp;#8211; please take a look at &lt;a href=&quot;https://github.com/TylerBrock/mongo-hacker&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongo-hacker&lt;/a&gt; for a great example of other useful functionality that can be added to the shell via the &lt;tt&gt;.mongorc.js&lt;/tt&gt; file.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n&lt;/p&gt;</comment>
                            <comment id="1211512" author="vain" created="Tue, 22 Mar 2016 17:44:01 +0000"  >&lt;p&gt;Thanks for taking the time to look at the ticket and pull request.&lt;/p&gt;

&lt;p&gt;Would you be able to share how you make decisions around pull requests? How do you arrive at conclusions  on what&apos;s a useful feature and what&apos;s not? From a quick browse around the &quot;features we&apos;re not sure of&quot; section, I appreciate it can&apos;t be an easy task.&lt;/p&gt;


&lt;p&gt;Regards,&lt;br/&gt;
Navin&lt;/p&gt;</comment>
                            <comment id="1211465" author="ramon.fernandez" created="Tue, 22 Mar 2016 17:12:00 +0000"  >&lt;p&gt;Thanks for opening a ticket and taking the time to submit a pull request &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=vain&quot; class=&quot;user-hover&quot; rel=&quot;vain&quot;&gt;vain&lt;/a&gt;. Unfortunately this is not a feature we&apos;re going to consider at this time, so I&apos;m going to close the pull request. We&apos;ll keep this ticket open for the time being to record any further discussion on this functionality.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25142"><![CDATA[Server Tooling & Methods]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 18 Mar 2016 20:59:16 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 9 weeks, 5 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-624</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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 9 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-stm</customfieldvalue>
            <customfieldvalue>brooke.miller@mongodb.com</customfieldvalue>
            <customfieldvalue>vain</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkdsf:</customfieldvalue>

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

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