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 2012/05/11 15:19:51 UTC

[jira] [Commented] (DIRAPI-87) The search() method does not return the same result if it's done with a SearchRequest or with parameters

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

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

We should always return an EntryCursor 
                
> 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