You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2009/07/26 15:17:14 UTC
[jira] Created: (DIRSERVER-1389) Cannot index binary attributeTypes
using the SUBSTR matching rule
Cannot index binary attributeTypes using the SUBSTR matching rule
-----------------------------------------------------------------
Key: DIRSERVER-1389
URL: https://issues.apache.org/jira/browse/DIRSERVER-1389
Project: Directory ApacheDS
Issue Type: Bug
Affects Versions: 1.5.4
Reporter: Emmanuel Lecharny
Priority: Critical
Fix For: 2.0.0-RC1
We can't index binary attributes which uses a Substr matching rule, like octetStringSubstringsMatch, as the Index is expecting a String value. This is a major problem we have to fix, otherwise we won't be able to do a fast search for Certificate or such attributes like ObjectGUID (M$ atributeType)
This will require some major refactoring in the server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DIRSERVER-1389) Cannot index binary attributeTypes
using the SUBSTR matching rule
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRSERVER-1389:
-----------------------------------------
Fix Version/s: 2.1.0
(was: 2.0.0-RC1)
Priority: Major (was: Critical)
Postponed.
Fixing this issue requires many modifications :
- we must be able to implement algorithm that does the matching for the initial, final and internal values
- the IndexEntry expect a String, not a byte[]
In any case, using a SUBSTR filter with binary values is not very frequent...
> Cannot index binary attributeTypes using the SUBSTR matching rule
> -----------------------------------------------------------------
>
> Key: DIRSERVER-1389
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1389
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.4
> Reporter: Emmanuel Lecharny
> Assignee: Emmanuel Lecharny
> Fix For: 2.1.0
>
>
> We can't index binary attributes which uses a Substr matching rule, like octetStringSubstringsMatch, as the Index is expecting a String value. This is a major problem we have to fix, otherwise we won't be able to do a fast search for Certificate or such attributes like ObjectGUID (M$ atributeType)
> This will require some major refactoring in the server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (DIRSERVER-1389) Cannot index binary
attributeTypes using the SUBSTR matching rule
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny reassigned DIRSERVER-1389:
--------------------------------------------
Assignee: Emmanuel Lecharny
> Cannot index binary attributeTypes using the SUBSTR matching rule
> -----------------------------------------------------------------
>
> Key: DIRSERVER-1389
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1389
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.4
> Reporter: Emmanuel Lecharny
> Assignee: Emmanuel Lecharny
> Priority: Critical
> Fix For: 2.0.0-RC1
>
>
> We can't index binary attributes which uses a Substr matching rule, like octetStringSubstringsMatch, as the Index is expecting a String value. This is a major problem we have to fix, otherwise we won't be able to do a fast search for Certificate or such attributes like ObjectGUID (M$ atributeType)
> This will require some major refactoring in the server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRSERVER-1389) Cannot index binary
attributeTypes using the SUBSTR matching rule
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879841#action_12879841 ]
Emmanuel Lecharny commented on DIRSERVER-1389:
----------------------------------------------
The SearchBinaryIT.testSearchSubstrOnBinaryAttribute() test desmonstrates the problem
> Cannot index binary attributeTypes using the SUBSTR matching rule
> -----------------------------------------------------------------
>
> Key: DIRSERVER-1389
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1389
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.4
> Reporter: Emmanuel Lecharny
> Assignee: Emmanuel Lecharny
> Fix For: 2.1.0
>
>
> We can't index binary attributes which uses a Substr matching rule, like octetStringSubstringsMatch, as the Index is expecting a String value. This is a major problem we have to fix, otherwise we won't be able to do a fast search for Certificate or such attributes like ObjectGUID (M$ atributeType)
> This will require some major refactoring in the server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (DIRSERVER-1389) Cannot index binary
attributeTypes using the SUBSTR matching rule
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny resolved DIRSERVER-1389.
------------------------------------------
Resolution: Fixed
Index are now generic.
> Cannot index binary attributeTypes using the SUBSTR matching rule
> -----------------------------------------------------------------
>
> Key: DIRSERVER-1389
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1389
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.4
> Reporter: Emmanuel Lecharny
> Assignee: Emmanuel Lecharny
> Priority: Critical
> Fix For: 2.0.0-RC1
>
>
> We can't index binary attributes which uses a Substr matching rule, like octetStringSubstringsMatch, as the Index is expecting a String value. This is a major problem we have to fix, otherwise we won't be able to do a fast search for Certificate or such attributes like ObjectGUID (M$ atributeType)
> This will require some major refactoring in the server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRSERVER-1389) Cannot index binary
attributeTypes using the SUBSTR matching rule
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874574#action_12874574 ]
Emmanuel Lecharny commented on DIRSERVER-1389:
----------------------------------------------
I have added a test to demonstrate the problem. Trying to find a solution atm.
> Cannot index binary attributeTypes using the SUBSTR matching rule
> -----------------------------------------------------------------
>
> Key: DIRSERVER-1389
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1389
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.4
> Reporter: Emmanuel Lecharny
> Priority: Critical
> Fix For: 2.0.0-RC1
>
>
> We can't index binary attributes which uses a Substr matching rule, like octetStringSubstringsMatch, as the Index is expecting a String value. This is a major problem we have to fix, otherwise we won't be able to do a fast search for Certificate or such attributes like ObjectGUID (M$ atributeType)
> This will require some major refactoring in the server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (DIRSERVER-1389) Cannot index binary
attributeTypes using the SUBSTR matching rule
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny reopened DIRSERVER-1389:
------------------------------------------
Wrongly closed...
We have a bad test in the SchemaInterceptor.filterCheck() method :
if ( !schemaManager.lookupAttributeTypeRegistry( node.getAttribute() ).getSyntax().isHumanReadable() )
{
String message = I18n.err( I18n.ERR_50 );
LOG.error( message );
throw new LdapException( message );
}
> Cannot index binary attributeTypes using the SUBSTR matching rule
> -----------------------------------------------------------------
>
> Key: DIRSERVER-1389
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1389
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.4
> Reporter: Emmanuel Lecharny
> Assignee: Emmanuel Lecharny
> Priority: Critical
> Fix For: 2.0.0-RC1
>
>
> We can't index binary attributes which uses a Substr matching rule, like octetStringSubstringsMatch, as the Index is expecting a String value. This is a major problem we have to fix, otherwise we won't be able to do a fast search for Certificate or such attributes like ObjectGUID (M$ atributeType)
> This will require some major refactoring in the server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.