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

Make regex indexability a factor of query shapes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0-rc0
    • Component/s: Querying
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Query 2018-05-21

      Description

      The options applied to a regex pattern, such as whether or not it is anchored, impact the query plan that is generated. For example, a left-anchored regex will have tighter index bounds than an unanchored pattern. Such changes yield different performance characteristics.

      The present behavior captures these different characteristics in a single query shape. There may be benefits to using regex options as distinguishing aspects of query shapes.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ian.boros Ian Boros
              Reporter:
              christopher.harris Christopher Harris
              Participants:
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: