[COMPASS-5181] Full-text search stages do not work on time-series collections Created: 18/Oct/21  Updated: 29/Oct/23  Resolved: 29/Nov/21

Status: Closed
Project: Compass
Component/s: Aggregation pipeline
Affects Version/s: None
Fix Version/s: 1.29.6

Type: Bug Priority: Major - P3
Reporter: Alena Khineika Assignee: Alena Khineika
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2021-10-15 at 17.18.13.png    
Issue Links:
Documented
Epic Link: COMPASS-4949
Documentation Changes: Needed
Documentation Changes Summary:

Full-text search stages are not available in time-series collections and views.

Sprint: Iteration Phnom Penh, Iteration Q

 Description   

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.



 Comments   
Comment by Githook User [ 02/Dec/21 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: fix: hide full-text search stages for time-series and views COMPASS-5181 (#2615)

  • fix: hide full-text search stages for time-series and views COMPASS-5181
Comment by Githook User [ 01/Dec/21 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: fix: hide full-text search stages for time-series and views COMPASS-5181 (#2615)

  • fix: hide full-text search stages for time-series and views COMPASS-5181
Comment by Githook User [ 29/Nov/21 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: fix: hide full-text search stages for time-series and views COMPASS-5181 (#2615)

  • fix: hide full-text search stages for time-series and views COMPASS-5181
Comment by Githook User [ 29/Nov/21 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: fix: hide full-text search stages for time-series and views COMPASS-5181 (#2615)

  • fix: hide full-text search stages for time-series and views COMPASS-5181
Comment by Githook User [ 29/Nov/21 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: fix: hide full-text search stages for time-series and views COMPASS-5181 (#2615)

  • fix: hide full-text search stages for time-series and views COMPASS-5181
Comment by Githook User [ 29/Nov/21 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: fix: hide full-text search stages for time-series and views COMPASS-5181 (#2615)

  • fix: hide full-text search stages for time-series and views COMPASS-5181
Comment by Githook User [ 29/Nov/21 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: fix: hide full-text search stages for time-series and views COMPASS-5181 (#2615)

  • fix: hide full-text search stages for time-series and views COMPASS-5181
Comment by Githook User [ 25/Nov/21 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: fix: hide full-text search stages for time-series and views COMPASS-5181
Branch: COMPASS-5181-hide-search-stages-for-views
https://github.com/mongodb-js/compass/commit/2c0f067465c98645922221f4fce98168f297974c

Comment by Githook User [ 25/Nov/21 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: fix: hide full-text search stages for time-series and views COMPASS-5181
Branch: COMPASS-5181-hide-search-stages-for-views
https://github.com/mongodb-js/compass/commit/9619680db8cb5bda4ec0dd16ef62c8792fad3435

Generated at Wed Feb 07 22:38:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.