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

Emmanuel Lécharny resolved DIRSERVER-2339.
------------------------------------------
    Resolution: Invalid

No answer to the last comment. I guess we were a bit late in responding. 
However, adding an index on CN attribute should fix the issue.

> Slow searches, is indexing a solution here?
> -------------------------------------------
>
>                 Key: DIRSERVER-2339
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2339
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: Mayank
>            Priority: Major
>         Attachments: java_stacktrace_working.txt, siebel_stacktrace_not 
> working.txt
>
>
> Hello Emmanuel,
> Am on apacheds-2.0.0.AM26 version.
> The searches are taking as much as 15-20 odd seconds or more if multiple 
> users are trying to access. I increased JVM memory, but that dont solve the 
> problem. Can creating an index solve the problem? Could you provide a good 
> article on how can I create index for custom attribute.
>  
> I tried creating an index through Directory Studio by adding the attribute on 
> the partition, but after that the search has started giving 0 results. If I 
> delete the index that I created, the search starts working. May be am not 
> creating the index the right way. Could you please help suggest how this 
> problem can be solved?
>  
> Search -
> DN - cn=mayabans,dc=ks-siebel,dc=com
> Filter - (|(cn=mayabans)(objectClass=referral))
>  
> Thanks and regards,
> Mayank



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to