$rankFusion's desugaring structure greatly overlaps with $scoreFusion's desugaring structure. The shared pipeline building logic between the two can be refactored into a base class.
Goal: consolidate as much as possible (and reasonable) of pipeline building logic between the two hybrid search stages. Audit comments when possible and don't break current hybrid search behavior.