Add support for $vectorSearch supplemental metrics

XMLWordPrintableJSON

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

      $vectorSearch currently has supplemental metrics, limit and numCandidatesLimitRatio, that get exposed via $queryStats. These are specific to $vectorSearch and are not automatically collected like the rest of query stats. These supplemental metrics are initialized here.  These are set at parse-time. When a $queryStats runs, the $vectorSearch supplemental stats are added to the resulting object if they have been set. An example of how this gets exposed to the user via $queryStats can be found here.

      This ticket may be dependent on a larger effort support supplemental metrics for extension stages. Update the dependencies as necessary.

            Assignee:
            Unassigned
            Reporter:
            Adithi Raghavan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: