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 2019/06/25 06:22:00 UTC

[jira] [Commented] (DIRSERVER-1703) Index on AttributeType don't span over inherited AT

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

Emmanuel Lecharny commented on DIRSERVER-1703:
----------------------------------------------

I wonder how OpenLDAP deal with that :-)

So the way it should work would be to index the requested attribute, and if this attribute has inherited ones, then those inherited attributes would be indexed using the parent's index. Internally, when adding a new value, or processing a search, we should always check if the attribute or one of its parent is indexed, and if so, use this index. That is not really that complex.

> Index on AttributeType don't span over inherited AT
> ---------------------------------------------------
>
>                 Key: DIRSERVER-1703
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1703
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M6
>            Reporter: Emmanuel Lecharny
>            Priority: Major
>             Fix For: 2.1.0
>
>
> If we add an index for an AttributeType which is a superior of another AttributeType, then the entries using the second AttributeType won't be indexed. For instance, indexing Name won't lead to have cn, sn, etc added into the index.
> We should add a flag in the index configuration to allow such a mode



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org