[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Indexed searches which contain a NOT filter return incomplete results (ITS#1405)



So if I have an application that uses "not" on attribute "x", it will work
if indexes are not defined for "x" but will not work correctly if indexes are
defined?

If so, this needs to be documented in very large print at the
top of the discussion about adding indexes.

Do you have any idea if this restriction applies to iPlanet?

Thanks!
Kevin
--------------------------------

Kurt@OpenLDAP.org wrote:
> 
> Indices return candidate lists for a filter component
> which may contain entries which do not the filter component.
> Hence, the 'not' of the candidate list may not contain all
> of the entries which do match the not of the filter component.
> The error is to assume otherwise.
> 
> Your test attempts to improve the pres index (and as such
> may be worthy of inclusion), but it clearly doesn't address
> the underlying design issue regarding index application and
> the not operator.
> 
> At 08:43 AM 2001-10-25, Charlie Bodycote wrote:
> >Is this really acceptable?
> 
> Well, as you argue, it's not acceptable to have only a
> subset of the matched entries returned.
> 
> Kurt