Re: FW: Hi Again, substring searches among 80K entires - still an issue
Ok, problem confirmed. I don't even have to create 80K entries, I get the issue with only 4 entries... Invertigation the issue right now. A clear bug, in any case ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
Re: FW: Hi Again, substring searches among 80K entires - still an issue
I was able to make the test suceed, by simply replacing this line : connection.modify( dn, new DefaultModification( ModificationOperation.REPLACE_ATTRIBUTE, displayName, Test User1 updated ) ); by connection.modify( dn, new DefaultModification( ModificationOperation.REPLACE_ATTRIBUTE, displayName, test user1 updated ) ); That means the modify() operation does not normalize the value before storing it into the bakend, keeping the uper cases, when the filter use a regexp which is case sensitive. There is clearly a bug in the way we process the modification, the value *must* be normalized. I'll fix that asap. Le 6/25/12 1:31 PM, Emmanuel Lécharny a écrit : Ok, problem confirmed. I don't even have to create 80K entries, I get the issue with only 4 entries... Invertigation the issue right now. A clear bug, in any case ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
RE: FW: Hi Again, substring searches among 80K entires - still an issue
Emmanuel - thank you!!! Regards, Carlo Accorsi -Original Message- From: Emmanuel Lécharny [mailto:elecha...@gmail.com] Sent: Monday, June 25, 2012 8:00 AM To: users@directory.apache.org Subject: Re: FW: Hi Again, substring searches among 80K entires - still an issue I was able to make the test suceed, by simply replacing this line : connection.modify( dn, new DefaultModification( ModificationOperation.REPLACE_ATTRIBUTE, displayName, Test User1 updated ) ); by connection.modify( dn, new DefaultModification( ModificationOperation.REPLACE_ATTRIBUTE, displayName, test user1 updated ) ); That means the modify() operation does not normalize the value before storing it into the bakend, keeping the uper cases, when the filter use a regexp which is case sensitive. There is clearly a bug in the way we process the modification, the value *must* be normalized. I'll fix that asap. Le 6/25/12 1:31 PM, Emmanuel Lécharny a écrit : Ok, problem confirmed. I don't even have to create 80K entries, I get the issue with only 4 entries... Invertigation the issue right now. A clear bug, in any case ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
Re: FW: Hi Again, substring searches among 80K entires - still an issue
Fixed http://svn.apache.org/viewvc?rev=1353518view=rev You can build the trunk and check if it's ok with your test. Le 6/25/12 2:00 PM, Emmanuel Lécharny a écrit : I was able to make the test suceed, by simply replacing this line : connection.modify( dn, new DefaultModification( ModificationOperation.REPLACE_ATTRIBUTE, displayName, Test User1 updated ) ); by connection.modify( dn, new DefaultModification( ModificationOperation.REPLACE_ATTRIBUTE, displayName, test user1 updated ) ); That means the modify() operation does not normalize the value before storing it into the bakend, keeping the uper cases, when the filter use a regexp which is case sensitive. There is clearly a bug in the way we process the modification, the value *must* be normalized. I'll fix that asap. Le 6/25/12 1:31 PM, Emmanuel Lécharny a écrit : Ok, problem confirmed. I don't even have to create 80K entries, I get the issue with only 4 entries... Invertigation the issue right now. A clear bug, in any case ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
RE: FW: Hi Again, substring searches among 80K entires - still an issue
Ok, we're rebuilding now. Will let you know and thanks! Regards, Carlo Accorsi -Original Message- From: Emmanuel Lécharny [mailto:elecha...@gmail.com] Sent: Monday, June 25, 2012 9:18 AM To: users@directory.apache.org Subject: Re: FW: Hi Again, substring searches among 80K entires - still an issue Fixed http://svn.apache.org/viewvc?rev=1353518view=rev You can build the trunk and check if it's ok with your test. Le 6/25/12 2:00 PM, Emmanuel Lécharny a écrit : I was able to make the test suceed, by simply replacing this line : connection.modify( dn, new DefaultModification( ModificationOperation.REPLACE_ATTRIBUTE, displayName, Test User1 updated ) ); by connection.modify( dn, new DefaultModification( ModificationOperation.REPLACE_ATTRIBUTE, displayName, test user1 updated ) ); That means the modify() operation does not normalize the value before storing it into the bakend, keeping the uper cases, when the filter use a regexp which is case sensitive. There is clearly a bug in the way we process the modification, the value *must* be normalized. I'll fix that asap. Le 6/25/12 1:31 PM, Emmanuel Lécharny a écrit : Ok, problem confirmed. I don't even have to create 80K entries, I get the issue with only 4 entries... Invertigation the issue right now. A clear bug, in any case ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
RE: FW: Hi Again, substring searches among 80K entires - still an issue
It works!! Thank you so much for everyone's help on this. I updated the JIRA but not sure if I should close it? Thanks! https://issues.apache.org/jira/browse/DIRSERVER-1724?focusedCommentId=13276714#comment-13276714 Regards, Carlo Accorsi -Original Message- From: Emmanuel Lécharny [mailto:elecha...@gmail.com] Sent: Monday, June 25, 2012 9:18 AM To: users@directory.apache.org Subject: Re: FW: Hi Again, substring searches among 80K entires - still an issue Fixed http://svn.apache.org/viewvc?rev=1353518view=rev You can build the trunk and check if it's ok with your test. Le 6/25/12 2:00 PM, Emmanuel Lécharny a écrit : I was able to make the test suceed, by simply replacing this line : connection.modify( dn, new DefaultModification( ModificationOperation.REPLACE_ATTRIBUTE, displayName, Test User1 updated ) ); by connection.modify( dn, new DefaultModification( ModificationOperation.REPLACE_ATTRIBUTE, displayName, test user1 updated ) ); That means the modify() operation does not normalize the value before storing it into the bakend, keeping the uper cases, when the filter use a regexp which is case sensitive. There is clearly a bug in the way we process the modification, the value *must* be normalized. I'll fix that asap. Le 6/25/12 1:31 PM, Emmanuel Lécharny a écrit : Ok, problem confirmed. I don't even have to create 80K entries, I get the issue with only 4 entries... Invertigation the issue right now. A clear bug, in any case ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
Re: FW: Hi Again, substring searches among 80K entires - still an issue
Le 6/25/12 5:54 PM, carlo.acco...@ibs-ag.com a écrit : It works!! Thank you so much for everyone's help on this. I updated the JIRA but not sure if I should close it? Thanks! https://issues.apache.org/jira/browse/DIRSERVER-1724?focusedCommentId=13276714#comment-13276714 Thanks for the feedback. I have closed the issue. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
Re: FW: Hi Again, substring searches among 80K entires - still an issue
Le 6/23/12 11:52 AM, carlo.acco...@ibs-ag.com a écrit : Hi, using the api and the trunk, we're seeing the same result. Any ideas here? Send me on a mission. We'll go do any grunt work. Thanks. Again, if I ldif export / import the user, it can then be found again via substring search. Will give it a try tomorrow, rain is expecting to pour here. Right now, sun is shining, my GF is pushing me with a fork so that I mow the grass... -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
RE: FW: Hi Again, substring searches among 80K entires - still an issue
Get outside!!! Thanks! Regards, Carlo Accorsi -Original Message- From: Emmanuel Lécharny [mailto:elecha...@gmail.com] Sent: Saturday, June 23, 2012 7:30 AM To: users@directory.apache.org Subject: Re: FW: Hi Again, substring searches among 80K entires - still an issue Le 6/23/12 11:52 AM, carlo.acco...@ibs-ag.com a écrit : Hi, using the api and the trunk, we're seeing the same result. Any ideas here? Send me on a mission. We'll go do any grunt work. Thanks. Again, if I ldif export / import the user, it can then be found again via substring search. Will give it a try tomorrow, rain is expecting to pour here. Right now, sun is shining, my GF is pushing me with a fork so that I mow the grass... -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com