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 6
6
DATABASE ,
7
7
ANY_COLLECTION_NAMESPACE ,
8
8
COLLECTION ,
9
+ VIEW ,
9
10
} from './ns' ;
10
11
11
12
type StageOperator = {
@@ -896,7 +897,7 @@ const STAGE_OPERATORS = [
896
897
meta : 'stage' ,
897
898
version : '4.1.11' ,
898
899
apiVersions : [ ] ,
899
- namespaces : [ COLLECTION ] ,
900
+ namespaces : [ COLLECTION , VIEW ] ,
900
901
description : 'Performs a full-text search on the specified field(s).' ,
901
902
comment : `/**
902
903
* index: The name of the Search index.
@@ -929,7 +930,7 @@ const STAGE_OPERATORS = [
929
930
meta : 'stage' ,
930
931
version : '4.4.9' ,
931
932
apiVersions : [ ] ,
932
- namespaces : [ COLLECTION ] ,
933
+ namespaces : [ COLLECTION , VIEW ] ,
933
934
description :
934
935
'Performs a full-text search on the specified field(s) and gets back only the generated search meta data from a query.' ,
935
936
comment : `/**
@@ -1193,7 +1194,7 @@ const STAGE_OPERATORS = [
1193
1194
meta : 'stage' ,
1194
1195
version : '>=6.0.10 <7.0.0 || >=7.0.2' ,
1195
1196
apiVersions : [ ] ,
1196
- namespaces : [ COLLECTION ] ,
1197
+ namespaces : [ COLLECTION , VIEW ] ,
1197
1198
description :
1198
1199
'Performs a kNN search on embeddings in the specified field(s)' ,
1199
1200
comment : `/**
You can’t perform that action at this time.
0 commit comments