Apache Directory Project - [jira] Commented: (DIRSERVER-951) Negated filter on indexed

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > May 2007 > [jira] Commented: (DIRSERVER-951) Negated filter on indexed





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Commented: (DIRSERVER-951) Negated filter on indexed
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.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com