Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions packages/mongodb-constants/src/stage-operators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
DATABASE,
ANY_COLLECTION_NAMESPACE,
COLLECTION,
VIEW,
} from './ns';

type StageOperator = {
Expand Down Expand Up @@ -896,7 +897,7 @@ const STAGE_OPERATORS = [
meta: 'stage',
version: '4.1.11',
apiVersions: [],
namespaces: [COLLECTION],
namespaces: [COLLECTION, VIEW],
description: 'Performs a full-text search on the specified field(s).',
comment: `/**
* index: The name of the Search index.
Expand Down Expand Up @@ -929,7 +930,7 @@ const STAGE_OPERATORS = [
meta: 'stage',
version: '4.4.9',
apiVersions: [],
namespaces: [COLLECTION],
namespaces: [COLLECTION, VIEW],
description:
'Performs a full-text search on the specified field(s) and gets back only the generated search meta data from a query.',
comment: `/**
Expand Down Expand Up @@ -1193,7 +1194,7 @@ const STAGE_OPERATORS = [
meta: 'stage',
version: '>=6.0.10 <7.0.0 || >=7.0.2',
apiVersions: [],
namespaces: [COLLECTION],
namespaces: [COLLECTION, VIEW],
description:
'Performs a kNN search on embeddings in the specified field(s)',
comment: `/**
Expand Down
Loading