Uploaded image for project: '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
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: