-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation pipeline
-
None
-
Iteration Phnom Penh, Iteration Q
-
Needed
-
Problem Statement/Rationale
What is going wrong?
When using full-text search aggregation stages (eg $search, $searchMets, $documents) on time-series collections, the aggregation builder shows the following error:
`$_internalSearchMongotRemote is only valid as the first stage in a pipeline`
It happens for aggregations that contain only one stage that is the full-text search stage.
Steps to Reproduce
How could an engineer replicate the issue you’re reporting?
- Select $search state in the aggreagtion builder
- Change the stage to make it syntactically valid
- See the red error under the stage
Expected Results
What do you expect to happen?
When running locally the create altas cluster button should appear in the preview, when connected to atlas the stage should return results.
Actual Results
What do you observe is happening?
The `$_internalSearchMongotRemote is only valid as the first stage in a pipeline` error appears.
Additional Notes
Any additional information that may be useful to include.