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

Indexed searches which contain a NOT filter return incomplete results (ITS#1404)

Full_Name: Charlie Bodycote
Version: 1.2.13
OS: Redhat Linux 7.1
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

If an attribute value is removed from an entry (in a modify operation), the
search index for the attribute is not updated correctly.

Subsequent search requests (for example, for "(!(attribute=*))") omit the entry
if indexing is turned on.

This does not affect simple filters on the attribute (eg. "(attribute=*)"), and
it does not affect searches of unindexed attributes.

I have a partial fix (which fixes the problem for the "pres" index, but not for
other indices).