You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Ersin Er (JIRA)" <ji...@apache.org> on 2007/06/15 23:33:26 UTC

[jira] Created: (DIRSERVER-971) Provide specific filter nodes for True, False and Undefined, and handle them in the search engine

Provide specific filter nodes for True, False and Undefined, and handle them in the search engine
-------------------------------------------------------------------------------------------------

                 Key: DIRSERVER-971
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-971
             Project: Directory ApacheDS
          Issue Type: Improvement
            Reporter: Ersin Er


We need to be able to construct or modify search filters with special nodes for True, False and Undefined. And the search engine should be able to handle these. This is especially needed for DIRSERVER-955.

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


[jira] Updated: (DIRSERVER-971) Provide specific filter nodes for True, False and Undefined, and handle them in the search engine

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-971:
----------------------------------------

    Fix Version/s:     (was: 1.5.2)
                   1.5.3

As Alex is reworking the search engine, and as it won't be included in 1.5.2, let's postpone this to 1.5.3

> Provide specific filter nodes for True, False and Undefined, and handle them in the search engine
> -------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-971
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-971
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5.0, 1.0
>            Reporter: Ersin Er
>             Fix For: 1.5.3
>
>
> We need to be able to construct or modify search filters with special nodes for True, False and Undefined. And the search engine should be able to handle these. This is especially needed for DIRSERVER-955.

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


[jira] Commented: (DIRSERVER-971) Provide specific filter nodes for True, False and Undefined, and handle them in the search engine

Posted by "Ersin Er (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650111#action_12650111 ] 

Ersin Er commented on DIRSERVER-971:
------------------------------------

What's the status of this issue? Has such a funcfion been implemented recently? This issue blocks a series of issues.

> Provide specific filter nodes for True, False and Undefined, and handle them in the search engine
> -------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-971
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-971
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5.0, 1.0
>            Reporter: Ersin Er
>             Fix For: 2.5.0
>
>
> We need to be able to construct or modify search filters with special nodes for True, False and Undefined. And the search engine should be able to handle these. This is especially needed for DIRSERVER-955.

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


[jira] Updated: (DIRSERVER-971) Provide specific filter nodes for True, False and Undefined, and handle them in the search engine

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Karasulu updated DIRSERVER-971:
------------------------------------

    Fix Version/s:     (was: 1.5.4)
                   2.5.0

> Provide specific filter nodes for True, False and Undefined, and handle them in the search engine
> -------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-971
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-971
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5.0, 1.0
>            Reporter: Ersin Er
>             Fix For: 2.5.0
>
>
> We need to be able to construct or modify search filters with special nodes for True, False and Undefined. And the search engine should be able to handle these. This is especially needed for DIRSERVER-955.

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


[jira] Commented: (DIRSERVER-971) Provide specific filter nodes for True, False and Undefined, and handle them in the search engine

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529570 ] 

Emmanuel Lecharny commented on DIRSERVER-971:
---------------------------------------------

The filter should be parsed and normalized into the NormalizerService.

First, we should not let a filter go down to the backend with textual attributes. We should use their OID instead.
Second, I agree with Ersin, we should pre-evaluate the filter so that we discard all the bad attributes, and replace them with an UndefinedNode

> Provide specific filter nodes for True, False and Undefined, and handle them in the search engine
> -------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-971
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-971
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5.0, 1.0
>            Reporter: Ersin Er
>             Fix For: 1.5.2
>
>
> We need to be able to construct or modify search filters with special nodes for True, False and Undefined. And the search engine should be able to handle these. This is especially needed for DIRSERVER-955.

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


[jira] Updated: (DIRSERVER-971) Provide specific filter nodes for True, False and Undefined, and handle them in the search engine

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Karasulu updated DIRSERVER-971:
------------------------------------

    Fix Version/s:     (was: 1.5.3)
                   1.5.4

> Provide specific filter nodes for True, False and Undefined, and handle them in the search engine
> -------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-971
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-971
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5.0, 1.0
>            Reporter: Ersin Er
>             Fix For: 1.5.4
>
>
> We need to be able to construct or modify search filters with special nodes for True, False and Undefined. And the search engine should be able to handle these. This is especially needed for DIRSERVER-955.

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


[jira] Updated: (DIRSERVER-971) Provide specific filter nodes for True, False and Undefined, and handle them in the search engine

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-971:
----------------------------------------

    Fix Version/s: 2.0.0-RC1
                       (was: 2.1.0)

This *has* to be fixed urgently, so many parts of the server are depending on a correct handling of filters...

> Provide specific filter nodes for True, False and Undefined, and handle them in the search engine
> -------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-971
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-971
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5.0, 1.0
>            Reporter: Ersin Er
>            Assignee: Emmanuel Lecharny
>             Fix For: 2.0.0-RC1
>
>
> We need to be able to construct or modify search filters with special nodes for True, False and Undefined. And the search engine should be able to handle these. This is especially needed for DIRSERVER-955.

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


[jira] Commented: (DIRSERVER-971) Provide specific filter nodes for True, False and Undefined, and handle them in the search engine

Posted by "Ersin Er (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512679 ] 

Ersin Er commented on DIRSERVER-971:
------------------------------------

We need these nodes to filter search filters before sending them to the core. Considering DIRSERVER-955, suppose we have a filter like (!(x=y)(m=n)). If, according to the ACI information, it's not permitted to FilterMatch x, we need to replace this node with UNDEFINED; if it's not permitted to FilterMatch y, we need to replace this node with FALSE. So the core evaluator module will directly know values of these nodes without querying them from backend. 

> Provide specific filter nodes for True, False and Undefined, and handle them in the search engine
> -------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-971
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-971
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5.0, 1.0
>            Reporter: Ersin Er
>             Fix For: 1.5.2
>
>
> We need to be able to construct or modify search filters with special nodes for True, False and Undefined. And the search engine should be able to handle these. This is especially needed for DIRSERVER-955.

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


[jira] Commented: (DIRSERVER-971) Provide specific filter nodes for True, False and Undefined, and handle them in the search engine

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888604#action_12888604 ] 

Emmanuel Lecharny commented on DIRSERVER-971:
---------------------------------------------

The FilterParser has been modified to remove the Undefined nodes :
- if and AndNode has at least one Undefined node, it resolves to Undefined
- if an OrNode has all its node Undefined, it resolves to Undefined
- if a NotNode has a UndefinedNode, it resolves to Undefined

Some more tests are to be added to check that the fix is covering all the cases

> Provide specific filter nodes for True, False and Undefined, and handle them in the search engine
> -------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-971
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-971
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5.0, 1.0
>            Reporter: Ersin Er
>            Assignee: Emmanuel Lecharny
>             Fix For: 2.0.0-RC1
>
>
> We need to be able to construct or modify search filters with special nodes for True, False and Undefined. And the search engine should be able to handle these. This is especially needed for DIRSERVER-955.

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


[jira] Assigned: (DIRSERVER-971) Provide specific filter nodes for True, False and Undefined, and handle them in the search engine

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny reassigned DIRSERVER-971:
-------------------------------------------

    Assignee: Emmanuel Lecharny

> Provide specific filter nodes for True, False and Undefined, and handle them in the search engine
> -------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-971
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-971
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5.0, 1.0
>            Reporter: Ersin Er
>            Assignee: Emmanuel Lecharny
>             Fix For: 2.0.0-RC1
>
>
> We need to be able to construct or modify search filters with special nodes for True, False and Undefined. And the search engine should be able to handle these. This is especially needed for DIRSERVER-955.

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


[jira] Commented: (DIRSERVER-971) Provide specific filter nodes for True, False and Undefined, and handle them in the search engine

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650146#action_12650146 ] 

Emmanuel Lecharny commented on DIRSERVER-971:
---------------------------------------------

So far, no. We have to check what has to be done, and it's good timing, as we are trying to get a 1.5.5 out soon.

> Provide specific filter nodes for True, False and Undefined, and handle them in the search engine
> -------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-971
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-971
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5.0, 1.0
>            Reporter: Ersin Er
>             Fix For: 2.5.0
>
>
> We need to be able to construct or modify search filters with special nodes for True, False and Undefined. And the search engine should be able to handle these. This is especially needed for DIRSERVER-955.

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


[jira] Updated: (DIRSERVER-971) Provide specific filter nodes for True, False and Undefined, and handle them in the search engine

Posted by "Ersin Er (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ersin Er updated DIRSERVER-971:
-------------------------------

        Fix Version/s: 1.5.2
    Affects Version/s: 1.5.0
                       1.0

> Provide specific filter nodes for True, False and Undefined, and handle them in the search engine
> -------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-971
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-971
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 1.5.0, 1.0
>            Reporter: Ersin Er
>             Fix For: 1.5.2
>
>
> We need to be able to construct or modify search filters with special nodes for True, False and Undefined. And the search engine should be able to handle these. This is especially needed for DIRSERVER-955.

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


[jira] Updated: (DIRSERVER-971) Provide specific filter nodes for True, False and Undefined, and handle them in the search engine

Posted by "Ersin Er (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ersin Er updated DIRSERVER-971:
-------------------------------

    Component/s: core

> Provide specific filter nodes for True, False and Undefined, and handle them in the search engine
> -------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-971
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-971
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5.0, 1.0
>            Reporter: Ersin Er
>             Fix For: 1.5.2
>
>
> We need to be able to construct or modify search filters with special nodes for True, False and Undefined. And the search engine should be able to handle these. This is especially needed for DIRSERVER-955.

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


[jira] Commented: (DIRSERVER-971) Provide specific filter nodes for True, False and Undefined, and handle them in the search engine

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512650 ] 

Alex Karasulu commented on DIRSERVER-971:
-----------------------------------------

Could you clarify what this is for ?  The description is not clear to me.

> Provide specific filter nodes for True, False and Undefined, and handle them in the search engine
> -------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-971
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-971
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5.0, 1.0
>            Reporter: Ersin Er
>             Fix For: 1.5.2
>
>
> We need to be able to construct or modify search filters with special nodes for True, False and Undefined. And the search engine should be able to handle these. This is especially needed for DIRSERVER-955.

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