Adapt $search tests to be compatible with $search extension

XMLWordPrintableJSON

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

      1. Explain/test shape expects native mongot stages — 8 failures
      Tests assert first stage is $search / $_internalSearchMongotRemote; explain shows $_internalDocumentResultsAndMetadata / extension. * search_explain.js— expects$_internalSearchMongotRemote

      • search_union_with_lookup_explain.js— expects$searchin$lookup
      • views/search/lookup.js— same for view-resolved$lookup
      • unionWith.js, unionWith_lookup.js, unionWith_lookup_nested_deep.js, unionWith_nested.js, unionWith_nested_deep.js— “first stage should be a mongot stage”

      2. Profiling metrics shape — 1 failure
      search_profiling.js — asserts slow-query log has mongot; got extensionMetrics.$_extensionSearch instead.

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

              Created:
              Updated:
              Resolved: