File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/mongodb-constants/src Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 66 DATABASE ,
77 ANY_COLLECTION_NAMESPACE ,
88 COLLECTION ,
9+ VIEW ,
910} from './ns' ;
1011
1112type StageOperator = {
@@ -896,7 +897,7 @@ const STAGE_OPERATORS = [
896897 meta : 'stage' ,
897898 version : '4.1.11' ,
898899 apiVersions : [ ] ,
899- namespaces : [ COLLECTION ] ,
900+ namespaces : [ COLLECTION , VIEW ] ,
900901 description : 'Performs a full-text search on the specified field(s).' ,
901902 comment : `/**
902903 * index: The name of the Search index.
@@ -929,7 +930,7 @@ const STAGE_OPERATORS = [
929930 meta : 'stage' ,
930931 version : '4.4.9' ,
931932 apiVersions : [ ] ,
932- namespaces : [ COLLECTION ] ,
933+ namespaces : [ COLLECTION , VIEW ] ,
933934 description :
934935 'Performs a full-text search on the specified field(s) and gets back only the generated search meta data from a query.' ,
935936 comment : `/**
@@ -1193,7 +1194,7 @@ const STAGE_OPERATORS = [
11931194 meta : 'stage' ,
11941195 version : '>=6.0.10 <7.0.0 || >=7.0.2' ,
11951196 apiVersions : [ ] ,
1196- namespaces : [ COLLECTION ] ,
1197+ namespaces : [ COLLECTION , VIEW ] ,
11971198 description :
11981199 'Performs a kNN search on embeddings in the specified field(s)' ,
11991200 comment : `/**
You can’t perform that action at this time.
0 commit comments