Skip to content

Commit

Permalink
feat: introduce $vectorSearch aggregation stage to 7.1 and 7.0.x COMP…
Browse files Browse the repository at this point in the history
…ASS-7064 (#4849)

* feat: introduce $vectorSearch aggregation stage to 7.1 and 7.0.x COMPASS-7064

* chore(e2e): update test

---------

Co-authored-by: Sergey Petushkov <[email protected]>
  • Loading branch information
mcasimir and gribnoysup authored Sep 21, 2023
1 parent 870c880 commit 1ceaaed
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 31 deletions.
52 changes: 26 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/compass-aggregations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@mongodb-js/compass-user-data": "^0.1.2",
"@mongodb-js/compass-utils": "^0.4.0",
"@mongodb-js/explain-plan-helper": "^1.1.2",
"@mongodb-js/mongodb-constants": "^0.6.11",
"@mongodb-js/mongodb-constants": "^0.7.1",
"@mongodb-js/mongodb-redux-common": "^2.0.11",
"bson": "^6.0.0",
"compass-preferences-model": "^2.14.0",
Expand Down Expand Up @@ -106,7 +106,7 @@
"@mongodb-js/compass-user-data": "^0.1.2",
"@mongodb-js/compass-utils": "^0.4.0",
"@mongodb-js/explain-plan-helper": "^1.1.2",
"@mongodb-js/mongodb-constants": "^0.6.11",
"@mongodb-js/mongodb-constants": "^0.7.1",
"@mongodb-js/mongodb-redux-common": "^2.0.11",
"bson": "^6.0.0",
"compass-preferences-model": "^2.14.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,9 @@ describe('Collection aggregations tab', function () {
if (serverSatisfies('>= 5.3.0')) {
expectedAggregations.push('$fill');
}
if (serverSatisfies('>= 7.0.2')) {
expectedAggregations.push('$vectorSearch');
}

expectedAggregations.sort();

Expand Down
2 changes: 1 addition & 1 deletion packages/compass-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"@codemirror/view": "^6.7.1",
"@lezer/highlight": "^1.1.3",
"@mongodb-js/compass-components": "^1.14.0",
"@mongodb-js/mongodb-constants": "^0.6.11",
"@mongodb-js/mongodb-constants": "^0.7.1",
"polished": "^4.2.2",
"prettier": "^2.7.1"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/compass-query-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@mongodb-js/compass-editor": "^0.13.0",
"@mongodb-js/compass-logging": "^1.2.0",
"@mongodb-js/compass-user-data": "^0.1.2",
"@mongodb-js/mongodb-constants": "^0.6.11",
"@mongodb-js/mongodb-constants": "^0.7.1",
"bson": "^6.0.0",
"compass-preferences-model": "^2.14.0",
"mongodb-query-util": "^2.1.0",
Expand Down Expand Up @@ -102,7 +102,7 @@
"@mongodb-js/compass-editor": "^0.13.0",
"@mongodb-js/compass-logging": "^1.2.0",
"@mongodb-js/compass-user-data": "^0.1.2",
"@mongodb-js/mongodb-constants": "^0.6.11",
"@mongodb-js/mongodb-constants": "^0.7.1",
"bson": "^6.0.0",
"compass-preferences-model": "^2.14.0",
"mongodb-query-util": "^2.1.0"
Expand Down

0 comments on commit 1ceaaed

Please sign in to comment.