Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-94025

Add validation that $scoreFusion subpipelines are valid

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible

      $scoreFusion lite parsing should extend the existing LiteParsedDocumentSourceNestedPipelines.

      According the design doc, all $scoreFusion subpipelines must be of one $search, $vectorSearch, $geoNear, or has a custom $sort in the pipeline. We should return an error if that is not true for any sub-pipeline.

      This is essentially a duplicate of SERVER-91911, so that patch can be used as inspiration.

            Assignee:
            adithi.raghavan@mongodb.com Adithi Raghavan
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: