directory-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/DIRSERVER-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13275900#comment-13275900
] 

Carlo Accorsi commented on DIRSERVER-1724:
------------------------------------------

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

Here is the log of my modification. 
#!RESULT OK
#!CONNECTION ldap://10.1.2.112:10389
#!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. 

#!SEARCH REQUEST (146) OK
#!CONNECTION ldap://10.1.2.112:10389
#!DATE 2012-05-15T11:26:23.495
# LDAP URL     : ldap://10.1.2.112:10389/ou=users,ou=int,o=cpro?hasSubordinates,objectClass?one?(displayName=CATest*)
# command line : ldapsearch -H ldap://10.1.2.112:10389 -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

#!SEARCH RESULT DONE (146) OK
#!CONNECTION ldap://10.1.2.112:10389
#!DATE 2012-05-15T11:26:23.495
# numEntries : 0

                
> Attribute indexes not updated after entry modification
> ------------------------------------------------------
>
>                 Key: DIRSERVER-1724
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1724
>             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
result. 
> displayName=Test User2
> displayName=Test*

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message