Ensure a $rankFusion inside a $unionWith/$lookup, with top level aggregation on a view works and is tested

XMLWordPrintableJSON

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

      Queries like:

      db.view.aggregate([{$unionWith/$lookup: { from: "coll", pipeline: [{$rankFusion}] }}]) 

      Should work fine for both search and non-search input pipelines.

       

      We need to confirm and add tests to our jstest suite

       

      We should hold off on this ticket until $rankFusion is fully supported on views at a top-level aggregation, as we modifying the ExpressionContext namespace state, which may end up interacting with this

            Assignee:
            Unassigned
            Reporter:
            Joe Shalabi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: