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

Implement $setWindowFields version of desugaring for $rankFusion

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

      The draft in SERVER-92213 uses the trick with $group and $push to compute the rank of documents, but we believe it will be better to go with a version that uses $setWindowFields and $rank to compute the same thing, for performance reasons, and so that it doesn't error when given too much data.

       

      You can sort by {key: {$meta: "sortKey"}}

            Assignee:
            mariano.shaar@mongodb.com Mariano Shaar
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: