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

Save $rankFusion/$scoreFusion output score to {$meta: "score"}

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration

      Save $rankFusion/$scoreFusion output score to {$meta: "score"}. Rid document_source_score_fusion.cpp of scorePaths and access score in addScoreField via 
      "{$meta: \"score\"}" instead of calculated scorePath.

      Add test cases to score_fusion_test.cpp that include desugared pipelines for nested $rankFusion/$scoreFusion pipelines.

      Also, update the 'findScorePath' function in score fusion desugaring code to reflect that the score is always found one way

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

              Created:
              Updated: