Directory ApacheDS
  1. Directory ApacheDS
  2. DIRSERVER-1808

We should evaluate the Scope and any other index in a fliter only when the # of candidate is above a threshold

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M10
    • Fix Version/s: 2.0.0-M11
    • Component/s: None
    • Labels:
      None

      Description

      Currently, we evaluate all the nodes in a filter, regardless to the result of previous evaluation. It makes no sense to evaluate some & node if one node evaluates to 0 or 1. It makes no sense to evaluate some following nodes of a | node if one node evaluate to MAX.

      We could probably save a few CPU this way.

        Activity

        Emmanuel Lecharny made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Emmanuel Lecharny made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Emmanuel Lecharny created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Emmanuel Lecharny
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development