directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRAPI-87) The search() method does not return the same result if it's done with a SearchRequest or with parameters
Date Fri, 11 May 2012 13:40:51 GMT

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

Emmanuel Lecharny commented on DIRAPI-87:
-----------------------------------------

Rahhh, nah...

The fact is that when we use search ( SearchRequest ), we will get back an instance of a SearchResult,
and not an entry. Then we will potentially receive an Entry, or a referral, or a SearchResultDone.

This is on purpose :/
                
> The search() method does not return the same result if it's done with a SearchRequest
or with parameters
> --------------------------------------------------------------------------------------------------------
>
>                 Key: DIRAPI-87
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-87
>             Project: Directory Client API
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-M12
>            Reporter: Emmanuel Lecharny
>            Priority: Critical
>             Fix For: 1.0.0-M13
>
>
> The search method returns two different cursors, depending on which parameters we pass.
This is not coherent.
> SearchCursor search( SearchRequest searchRequest )
> EntryCursor search( String baseDn, String filter, SearchScope scope, String... attributes
)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message