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

Additional optimizations for MatchExpression::getOptimizer()

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.1
    • Affects Version/s: None
    • Component/s: Querying
    • Fully Compatible
    • ALL
    • Query 2017-12-18, Query 2018-01-01

      We could simplify a lot of JSON Schema expressions if we replaced AND expressions that include a contradiction with

      {alwaysFalse: 1}

      and OR expression that contain a tautology with

      {alwaysTrue: 1}

      .

            Assignee:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Reporter:
            justin.seyster@mongodb.com Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: