Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5181

Full-text search stages do not work on time-series collections

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.29.6
    • Affects Version/s: None
    • Component/s: Aggregation pipeline
    • Labels:
      None
    • Needed
    • Hide

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

      Show
      Full-text search stages are not available in time-series collections and views.
    • Iteration Phnom Penh, Iteration Q

      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.

            Assignee:
            alena.khineika@mongodb.com Alena Khineika
            Reporter:
            alena.khineika@mongodb.com Alena Khineika
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: