directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRSERVER-1702) Adding an index through annotation does not work
Date Wed, 21 Mar 2012 15:11:41 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny resolved DIRSERVER-1702.
------------------------------------------

    Resolution: Fixed

Fixed with http://svn.apache.org/viewvc?rev=1303405&view=rev
                
> Adding an index through annotation does not work
> ------------------------------------------------
>
>                 Key: DIRSERVER-1702
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1702
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M6
>            Reporter: Emmanuel Lecharny
>            Priority: Critical
>             Fix For: 2.0.0-M7
>
>
> The added indexes though annotations, like with :
> @CreateDS(name = "ClientApiPerfTestDS", partitions =
>     {
>     @CreatePartition(
>         name = "example",
>         suffix = "dc=example,dc=com",
>         contextEntry = @ContextEntry(
>             entryLdif =
>                 "dn: dc=example,dc=com\n" +
>                 "dc: example\n" +
>                 "objectClass: top\n" +
>                 "objectClass: domain\n\n"),
>         indexes =
>         {
>             @CreateIndex(attribute = "objectClass"),
>             @CreateIndex(attribute = "dc"),
>             @CreateIndex(attribute = "ou")
>         })
>     })
> does not create any index. 
> Injecting new index through the DirectoryServiceFactory does not work either :
>         DirectoryServiceFactory dsFactory = DefaultDirectoryServiceFactory.class.newInstance();
>         dsFactory.getPartitionFactory().addIndex( systemPartition, "gidNumber", 100 );
> does not add the index for the gidNumber AT.

--
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