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

Additional optimizations for MatchExpression::getOptimizer()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.7.1
    • Querying
    • Fully Compatible
    • ALL
    • Query 2017-12-18, Query 2018-01-01

    Description

      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}

      .

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: