Remove resetting of _docsReturnedByIdLookup

XMLWordPrintableJSON

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

      Prior to SERVER-63816, we needed to reset the _docsReturnedByIdLookup metric, in case the $search is part of a $lookup subpipeline since the subpipeline was parsed multiple times. Now the subpipeline is only parsed once, so we don't need to reset that metric. We can remove the function resetDocsReturnedByIdLookup() from SharedSearchState.

      While we're at it, we shouldn't have two separate constructors forĀ 
      DocumentSourceInternalSearchIdLookUp. Instead, we should have one constructor where the limit parameter is set with default value 0.

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

              Created:
              Updated: