Include $search result count (total hits) in slow query log

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0, 6.0.6, 5.0.18
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • v6.0, v5.0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Today, slow query logs which involve $search queries already include additional search-related information, but we could also benefit from having the returned count from searchMeta:

      https://www.mongodb.com/docs/atlas/atlas-search/counting/

            Assignee:
            Ted Tuckman
            Reporter:
            Alexander Lukyanchikov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: