[ 
https://issues.apache.org/jira/browse/DIRSERVER-1049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lecharny updated DIRSERVER-1049:
-----------------------------------------

    Fix Version/s:     (was: 2.0.0-RC2)
                   2.0.0-M15
    
> [PERF] Speed improvement in Search operation
> --------------------------------------------
>
>                 Key: DIRSERVER-1049
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1049
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5.1
>            Reporter: Emmanuel Lecharny
>             Fix For: 2.0.0-M15
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to