Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-90774

Add idLookup success rate computation to SharedSearchState

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

      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:
            joseph.shalabi@mongodb.com Joe Shalabi
            Reporter:
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: