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

Create skeleton of DocumentSourceScoreFusion

    • 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

      Create a skeleton of DocumentSourceScoreFusion stage that registers $scoreFusion as an acceptable aggregation stage.

      Since this document source will act as syntactic sugar (like DocumentSourceCount, for example), it only needs to implement a "createFromBson()" method, but doesn't need to implement the DocumentSource interface.

      Edit and expand "search_hybrid_scoring_feature_flag.js" to confirm that the aggregation stage is not allowed (and will return an error) when the flag is off. Use "query_stats_feature_flag.js` as an example.

      This is essentially a duplicate task of SERVER-91907, so that patch can be used for reference.

            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: