Additional optimizations for MatchExpression::getOptimizer()

XMLWordPrintableJSON

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

      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
              Reporter:
              Justin Seyster
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: