Speed improvement in Search operation
-------------------------------------
Key: DIRSERVER-1049
URL: https://issues.apache.org/jira/browse/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.