directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlo Accorsi (JIRA)" <>
Subject [jira] [Commented] (DIRSERVER-1724) Attribute indexes not updated after entry modification
Date Tue, 15 May 2012 15:51:47 GMT


Carlo Accorsi commented on DIRSERVER-1724:

Hi, yes I rebuilt everything from scratch from the trunk yesterday. Still cannot search after
I'm limiting my testing to Apache Directory Studio. Version: 1.5.3.v20100330

Here is the log of my modification. 
#!CONNECTION ldap://
#!DATE 2012-05-15T11:23:51.400
dn: uid=1337085976640,ou=users,ou=int,o=cpro
changetype: modify
replace: displayName
displayName: CATest User New

A couple mins later, I try and search for 'CATest*' and there are no results.
Is there an internal timeout for searching? Is there a parameter for this?  If I dump the
user out (ldif) and re-import, I can find it via search. 

#!CONNECTION ldap://
#!DATE 2012-05-15T11:26:23.495
# LDAP URL     : ldap://,ou=int,o=cpro?hasSubordinates,objectClass?one?(displayName=CATest*)
# command line : ldapsearch -H ldap:// -x -D "uid=admin,ou=system" -W -b "ou=users,ou=int,o=cpro"
-s one -a always -z 1000 "(displayName=CATest*)" "hasSubordinates" "objectClass"
# baseObject   : ou=users,ou=int,o=cpro
# scope        : singleLevel (1)
# derefAliases : derefAlways (3)
# sizeLimit    : 1000
# timeLimit    : 0
# typesOnly    : False
# filter       : (displayName=CATest*)
# attributes   : hasSubordinates objectClass

#!CONNECTION ldap://
#!DATE 2012-05-15T11:26:23.495
# numEntries : 0

> Attribute indexes not updated after entry modification
> ------------------------------------------------------
>                 Key: DIRSERVER-1724
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.0-M7
>         Environment: Win x64
>            Reporter: Carlo Accorsi
>            Priority: Minor
> We setup a partition and configure the attributes we want to index. Import all our users
via LDIF and ApacheDS studio and everything works great. 
> If a modification is made to an indexed attribute, for example displayName, that entry
cannot be found either with an exact or substring match. 
> Consider this:
> diaplayName: Test User1
> After initial import of LDIF import, the following searches will return a result. 
> displayName=Test User1
> displayName=Test*
> If the attribute is modified, to Test User2, neither of the searches below yield any
> displayName=Test User2
> displayName=Test*

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message