[
https://issues.apache.org/jira/browse/DIRSERVER-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276714#comment-13276714
]
Carlo Accorsi commented on DIRSERVER-1724:
------------------------------------------
This issue is limited to a substring search. As you can see from the results
below (displayName=Index, Test) yields a result, while (displayName=Index,
Tes*) does not.
Is there any way to explain this? Am i doing something wrong?
#!SEARCH REQUEST (130) OK
#!CONNECTION ldap://10.1.2.112:10389
#!DATE 2012-05-16T08:56:25.248
# LDAP URL :
ldap://10.1.2.112:10389/ou=users,ou=int,o=cpro?hasSubordinates,objectClass?one?(displayName=Index,%20Test)
# 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=Index, Test)" "hasSubordinates" "objectClass"
# baseObject : ou=users,ou=int,o=cpro
# scope : singleLevel (1)
# derefAliases : derefAlways (3)
# sizeLimit : 1000
# timeLimit : 0
# typesOnly : False
# filter : (displayName=Index, Test)
# attributes : hasSubordinates objectClass
#!SEARCH RESULT DONE (130) OK
#!CONNECTION ldap://10.1.2.112:10389
#!DATE 2012-05-16T08:56:25.248
# numEntries : 1
#!SEARCH REQUEST (134) OK
#!CONNECTION ldap://10.1.2.112:10389
#!DATE 2012-05-16T08:58:50.287
# LDAP URL :
ldap://10.1.2.112:10389/ou=users,ou=int,o=cpro?hasSubordinates,objectClass?one?(displayName=Index,%20Tes*)
# 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=Index, Tes*)" "hasSubordinates" "objectClass"
# baseObject : ou=users,ou=int,o=cpro
# scope : singleLevel (1)
# derefAliases : derefAlways (3)
# sizeLimit : 1000
# timeLimit : 0
# typesOnly : False
# filter : (displayName=Index, Tes*)
# attributes : hasSubordinates objectClass
#!SEARCH RESULT DONE (134) OK
#!CONNECTION ldap://10.1.2.112:10389
#!DATE 2012-05-16T08:58:50.287
# 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