directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Created: (DIRSERVER-1049) Speed improvement in Search operation
Date Fri, 31 Aug 2007 02:04:30 GMT
Speed improvement in Search operation

                 Key: DIRSERVER-1049
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: core
    Affects Versions: 1.5.1
            Reporter: Emmanuel Lecharny
             Fix For: 1.5.2

A search operation based on a single attribute, like (uid=user.123), should not pass through
the optimizer at all, as we don't need to compute the number of entries. 

What we have now is that the search is built as a conjonction (AND) operation as if we have
injected this filter :
(& (objectclass =* ) (uid = user.123))

The cost of doing such a count is not negligeable (5% of the overall operation)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message