<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:01: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>[JAVA-4190] Client side builder for operators supported by $search</title>
                <link>https://jira.mongodb.org/browse/JAVA-4190</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;I want to add a $search stage to my aggregate pipeline.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/blame/master/driver-core/src/main/com/mongodb/client/model/Aggregates.java&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Aggregate.java&lt;/a&gt; does not have a builder for $search. Should we consider adding it (I could volunteer, looks like a straight forward change)?&lt;/p&gt;

&lt;p&gt;Or has it been skipped intentionally as its only supported in Mongo Atlas version?&lt;/p&gt;</description>
                <environment></environment>
        <key id="1768758">JAVA-4190</key>
            <summary>Client side builder for operators supported by $search</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="valentin.kovalenko@mongodb.com">Valentin Kavalenka</assignee>
                                    <reporter username="nihaljain.cs@gmail.com">Nihal Jain</reporter>
                        <labels>
                            <label>QP-priority</label>
                            <label>rp-toSched</label>
                            <label>size-medium</label>
                    </labels>
                <created>Fri, 4 Jun 2021 09:50:32 +0000</created>
                <updated>Fri, 31 Mar 2023 18:29:50 +0000</updated>
                            <resolved>Fri, 27 May 2022 18:57:02 +0000</resolved>
                                                    <fixVersion>4.7.0</fixVersion>
                                    <component>Builders</component>
                    <component>Query Operations</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="4621643" author="xgen-internal-githook" created="Thu, 16 Jun 2022 18:11:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Valentin Kovalenko&apos;, &apos;email&apos;: &apos;valentin.kovalenko@mongodb.com&apos;, &apos;username&apos;: &apos;stIncMale&apos;}
&lt;p&gt;Message: Fix `of` `$search`-related methods that are supposed to produce a BSON element but instead produce a BSON document (#964)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4190&quot; title=&quot;Client side builder for operators supported by $search&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4190&quot;&gt;&lt;del&gt;JAVA-4190&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/b0ceebbc304528dde016cc791979602491a3eed8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/b0ceebbc304528dde016cc791979602491a3eed8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4578692" author="xgen-internal-githook" created="Fri, 27 May 2022 18:56:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Valentin Kovalenko&apos;, &apos;email&apos;: &apos;valentin.kovalenko@mongodb.com&apos;, &apos;username&apos;: &apos;stIncMale&apos;}
&lt;p&gt;Message: Add query building API for MongoDB Atlas full-text search (#952)&lt;/p&gt;

&lt;p&gt;Java API: `com.mongodb.client.model.search`&lt;br/&gt;
Scala API: `org.mongodb.scala.model.search`&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4415&quot; title=&quot;Add builder for $search stage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4415&quot;&gt;&lt;del&gt;JAVA-4415&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4315&quot; title=&quot;Add builder for $searchMeta stage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4315&quot;&gt;&lt;del&gt;JAVA-4315&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4190&quot; title=&quot;Client side builder for operators supported by $search&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4190&quot;&gt;&lt;del&gt;JAVA-4190&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/1812865f234b2d9c9ab27ea760959ded152d51ac&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/1812865f234b2d9c9ab27ea760959ded152d51ac&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3866647" author="JIRAUSER1253678" created="Tue, 8 Jun 2021 16:26:53 +0000"  >&lt;p&gt;OK thanks. Let me come back to you with a brief summary of changes I intend to make to ensure we are on the same page.&lt;/p&gt;</comment>
                            <comment id="3866623" author="jeff.yemin" created="Tue, 8 Jun 2021 16:17:31 +0000"  >&lt;blockquote&gt;&lt;p&gt;Also would&apos;t integration tests run on some mongodb jenkin environment?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;We use an internal CI server, so we would have to configure it to run against an Atlas cluster&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;If this is not already part of a planned release, may be I can give it a shot?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;We will probably target a fall release for this.  Yes, you can give it a shot if you&apos;d like.&lt;/p&gt;</comment>
                            <comment id="3866609" author="JIRAUSER1253678" created="Tue, 8 Jun 2021 16:13:48 +0000"  >&lt;p&gt;Yes I have been playing around with various search operators lately and am familiar with most them now. I think I can do this, only may be not as fast.&lt;/p&gt;

&lt;p&gt;Also would&apos;t integration tests run on some mongodb jenkin environment?&lt;/p&gt;

&lt;p&gt;If this is not already part of a planned release, may be I can give it a shot?&lt;/p&gt;</comment>
                            <comment id="3866571" author="jeff.yemin" created="Tue, 8 Jun 2021 16:02:08 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=nihaljain.cs%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;nihaljain.cs@gmail.com&quot;&gt;nihaljain.cs@gmail.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for the offer.  We do accept pull requests.  Just be aware that this one has quite a large API surface due to the variety of search options, so there will be a lot of Javadoc, and tests, required.  There is also the issue of how to test it, since any integration tests will have to run against an actual Atlas cluster.&lt;/p&gt;</comment>
                            <comment id="3866543" author="JIRAUSER1253678" created="Tue, 8 Jun 2021 15:55:04 +0000"  >&lt;p&gt;Hi I could work on this and make a contribution. Let me know if that works.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                            <comment id="3866428" author="jeff.yemin" created="Tue, 8 Jun 2021 15:27:58 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=nihaljain.cs%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;nihaljain.cs@gmail.com&quot;&gt;nihaljain.cs@gmail.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We&apos;re aware of this and are considering it for an upcoming release.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Jeff&lt;/p&gt;

&lt;p&gt;CC &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rachelle.palmer&quot; class=&quot;user-hover&quot; rel=&quot;rachelle.palmer&quot;&gt;rachelle.palmer&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3859342" author="JIRAUSER1253678" created="Fri, 4 Jun 2021 09:52:32 +0000"  >&lt;p&gt;Apparently I don&apos;t have modify description option.&lt;/p&gt;

&lt;p&gt;This Jira is to add&#160;a client side utility class to create/build filters for atlas search similar to&#160;com.mongodb.client.model.Filters&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="1767436">JAVA-4188</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1884593">JAVA-4315</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1933192">JAVA-4415</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <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_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10250"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14266" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Documentation Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;We will need to document the builder API, similar to docs we have for existing Aggregates builder API.&lt;br/&gt;
We also need to update Java examples in the docs, e.g., in &lt;a href=&quot;https://www.mongodb.com/docs/atlas/atlas-search/autocomplete/#basic-examples&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/atlas/atlas-search/autocomplete/#basic-examples&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Please see also the description of DOCSP-21671.&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY23Q1</label>
            <label>FY23Q2</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr3mmh:04005k</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>