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 2007/09/21 16:47:50 UTC

[jira] Commented: (DIRSERVER-824) Collective attributes are not evaluated in search operations when they are used in filter expressions

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

Emmanuel Lecharny commented on DIRSERVER-824:
---------------------------------------------

We have had some more discussion about this issue yesturday.

We think that the solution would be to extract the LeafEvaluator out of the Partition, and to have a specific interceptor in charge of the filter evaluation. 

This has two impacts :
1) we have to efficiently move the code from Partition to an interceptor, and to be sure that this interceptor is called after all the collectiveAttributes have been added to the entry)
2) we will have to modify the Partition interface to change the lookup method semantic 

Not really easy ...

> Collective attributes are not evaluated in search operations when they are used in filter expressions
> -----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-824
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-824
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0.1, 1.5.0
>            Reporter: Ersin Er
>             Fix For: 2.0.0
>
>
> As collective attributes never hit the database, they are not evaluated upon search operations if they are used in filters. This is an hard issue to fix but we may also support this kind of virtual attributes in the future, so we need a way to handle such cases. One solution can be injecting the collective attributes into entries before search operations. Other LDAP servers may be doing this. (I had felt this when I read their documents.) Hoever I am not sure about the negative effects of that way on performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.