Make view Validation for search/vectorSearch consistent with mongot

XMLWordPrintableJSON

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

      The view validator in mongo currently handles these things differently from mongot:

      • mongot allows empty $match, mongod does not
      • mongot validates that there is only one key in a stage document

      We should make these consistent before 9.0 so that UI and CLI view creation paths and querying behave the same way

            Assignee:
            Josh Siegel
            Reporter:
            William Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: