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

XMLWordPrintableJSON

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

      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
              Reporter:
              Adithi Raghavan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: