| Emmanuel Lecharny (JIRA) 2007-05-31, 1:11 pm |
|
[ https://issues.apache.org/jira/brow...action_12500365 ]
Emmanuel Lecharny commented on DIRSERVER-951:
---------------------------------------------
If so, then this is clearly a bug.
However, for performance reasons, I suggest you to avoid using *not* filters, even on indexed attributes. Doing so will simply result on a full scan, with rejection of entries which attribute exist. Of course, this is just and advice, and sometime, it's s
imply not possible ...
> Negated filter on indexed attribute doesn't find entries without attribute
> --------------------------------------------------------------------------
>
> Key: DIRSERVER-951
> URL: https://issues.apache.org/jira/browse/DIRSERVER-951
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: core
> Affects Versions: 1.5.1
> Reporter: Martin Alderson
>
> Searching with filter (!(myAttribute=value)) will not find entries which do not have a myAttribute attribute when that attribute is indexed. When myAttribute is not indexed the filter works as expected, finding all entries that either do not have the s
pecified value for myAttribute or do not have any values for myAttribute at all.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|