Emmanuel Lecharny created DIRSERVER-1751:
--------------------------------------------

             Summary: The Substring index is not used during the evaluation of 
a search filter
                 Key: DIRSERVER-1751
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1751
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 2.0.0-M8
            Reporter: Emmanuel Lecharny
            Priority: Critical
             Fix For: 2.0.0-M9


We don't compute the number of candidate when we have a substring search, so we 
default to a full scan :

            else if ( node instanceof SubstringNode )
            {
                /** Cannot really say so we presume the total index count */
                count = getFullScan( leaf );
            }

This is not good when the attribute is indexed.

--
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