<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:46:15 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>[COMPASS-7349] Compass Stage Description - $vectorSearch</title>
                <link>https://jira.mongodb.org/browse/COMPASS-7349</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;p&gt;Problem Statement/Rationale&lt;/p&gt;

&lt;p&gt;What is going wrong? What action would you like the Engineering team to take?&lt;/p&gt;

&lt;p&gt;I&apos;m receiving conflicting answers from the A.I. document chat vs. the aggregation pipeline. I&apos;m told by the index type needs to be knnVector by MongoDB AI, but in Compass&apos;s stage dropdown in Aggregations it states:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;```&lt;/p&gt;

&lt;p&gt;$vectorSearch - Atlas only. Performs a kNN search on a vector in the specified field or fields. The field that you want to search must be covered by an Atlas Search index of type `vectorEmbedding`.&lt;/p&gt;

&lt;p&gt;```&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;However, MongoDB AI said:&lt;/p&gt;

&lt;p&gt;&quot;&quot;&quot;&lt;/p&gt;

&lt;p&gt;No, knnVector is not covered by vectorEmbedding in Atlas Search. When using $vectorSearch in a pipeline, the fields to search must be indexed as knnVector type. However, MongoDB Compass may suggest that the field to search must be covered by an Atlas Search index of type vectorEmbedding. This is incorrect.&lt;/p&gt;

&lt;p&gt;Further reading:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://mongodb.com/docs/atlas/atlas-search/field-types/knn-vector/?tck=docs_chatbot&amp;amp;_ga=2.16834681.1767774144.1697410662-108962063.1697410662&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mongodb.com/docs/atlas/atlas-search/field-types/knn-vector/&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://mongodb.com/docs/atlas/atlas-search/knn-beta/?tck=docs_chatbot&amp;amp;_ga=2.16834681.1767774144.1697410662-108962063.1697410662&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mongodb.com/docs/atlas/atlas-search/knn-beta/&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://mongodb.com/docs/atlas/atlas-vector-search/vector-search-stage/?tck=docs_chatbot&amp;amp;_ga=2.16834681.1767774144.1697410662-108962063.1697410662&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mongodb.com/docs/atlas/atlas-vector-search/vector-search-stage/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&quot;&quot;&quot;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Also, it looks like on &lt;a href=&quot;https://mongodb.com/docs/atlas/atlas-vector-search/vector-search-stage/?tck=docs_chatbot&amp;amp;_ga=2.16834681.1767774144.1697410662-108962063.1697410662&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mongodb.com/docs/atlas/atlas-vector-search/vector-search-stage/&lt;/a&gt;&#160;it says:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&quot;&quot;&quot;&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;https://www.mongodb.com/docs/atlas/atlas-vector-search/vector-search-tutorial/#mongodb-pipeline-pipe.-vectorSearch&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;$vectorSearch&lt;/a&gt; stage performs an aNN search on a vector in the specified field. The field that you want to search must be indexed as Atlas Vector Search &lt;a href=&quot;https://www.mongodb.com/docs/atlas/atlas-search/field-types/knn-vector/#std-label-fts-data-types-knn-vector&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;knnVector&lt;/a&gt; type.&lt;/p&gt;

&lt;p&gt;&quot;&quot;&quot;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Steps to Reproduce&lt;/p&gt;

&lt;p&gt;How could an engineer replicate the issue you&#8217;re reporting?&lt;/p&gt;

&lt;p&gt;Open the Aggregations tab for a collection in Compass, click on &apos;Stage 1&apos;, scroll down to &apos;$vectorSearch&apos;.&lt;/p&gt;</description>
                <environment>OS: MacOS Apple Silicon&lt;br/&gt;
node.js / npm versions: 20&lt;br/&gt;
Additional info: MongoDB Compass Aggregations / MongoDB A.I. Docs&lt;br/&gt;
</environment>
        <key id="2476067">COMPASS-7349</key>
            <summary>Compass Stage Description - $vectorSearch</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="josh@parakeet.college">Joshua Jarabek</reporter>
                        <labels>
                    </labels>
                <created>Tue, 17 Oct 2023 07:17:48 +0000</created>
                <updated>Wed, 1 Nov 2023 14:43:03 +0000</updated>
                            <resolved>Wed, 1 Nov 2023 14:43:03 +0000</resolved>
                                    <version>1.40.3</version>
                                    <fixVersion>No version</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5785547" author="JIRAUSER1256529" created="Tue, 17 Oct 2023 17:11:07 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=josh%40parakeet.college&quot; class=&quot;user-hover&quot; rel=&quot;josh@parakeet.college&quot;&gt;josh@parakeet.college&lt;/a&gt; If I understand correctly, I think this is a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-7300&quot; title=&quot;Fix vector search index type name in template&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-7300&quot;&gt;&lt;del&gt;COMPASS-7300&lt;/del&gt;&lt;/a&gt;? Let me know if I&#8217;m mistaken about that.&lt;/p&gt;

&lt;p&gt;(We will be releasing an updated version of Compass shortly, most likely this week.)&lt;/p&gt;</comment>
                            <comment id="5783596" author="dbeng-pm-bot" created="Tue, 17 Oct 2023 07:17:50 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=josh%40parakeet.college&quot; class=&quot;user-hover&quot; rel=&quot;josh@parakeet.college&quot;&gt;josh@parakeet.college&lt;/a&gt;, thank you for reaching out to us! The team will review your issue and get back to you soon as soon as possible. &lt;/p&gt;

&lt;p&gt;Please review your issue to ensure you&apos;ve included your environment details and have attached relevant logs (with any sensitive data redacted), so that we&apos;re best able to provide you a timely and thorough response. Thanks again!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="2459407">COMPASS-7300</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2455855">COMPASS-7288</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 17 Oct 2023 07:17:50 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        16 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_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></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>jessica.sigafoos@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            16 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>anna.henningsen@mongodb.com</customfieldvalue>
            <customfieldvalue>josh@parakeet.college</customfieldvalue>
            <customfieldvalue>dbeng-pm-bot</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2wcjb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2e8gc:</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_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2vyon:</customfieldvalue>

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