Add $minMaxScaler 'input.normalization' option to $score stage

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      My best bet is that we can add in a $setWindowFields stage expansion at parse time, so that we don't have to duplicate any execution logic.

       

      Edit on 4/24/25 -

      This will require some reworking to the current logic in DocumentSourceScore - currently $score just translates directly to a $setMetadata stage.  However, as a result of minMaxScaler normalization, $score will need to translate into a pipeline of $addFields, $setWindowFields, and $setMetadata.

              Assignee:
              Finley Lau
              Reporter:
              Charlie Swanson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: