Add idLookup success rate computation to SharedSearchState

XMLWordPrintableJSON

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

      In SERVER-86736, we want to use the idLookup "success rate" to cap the batchSize sent to mongot. We should add a computation to easily get the success rate from the SharedSearchState stored on the ExpressionContext. This will require tracking the number of documents seen by idLookup in addition to the existing _docsReturnedByIdLookup.

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

              Created:
              Updated:
              Resolved: