score cannot be used when not defined

XMLWordPrintableJSON

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

      For new metadata fields added in this project (I think just "score" and "scoreDetails"), we should fail the query if we try to reference the metadata field when it's not defined. For example, the pipeline  {$project: {$meta: "score"}} should fail since "score" is not populated.

      We should also think about how this interacts with "searchScore" and "searchScoreDetails".

      It's unclear how challenging this will be to pull off, but we should at least investigate it.

              Assignee:
              Will Buerger
              Reporter:
              Will Buerger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: