Vivek wrote:
I had rebuilt the indexes, but thanks for the reminder!
Some more information - I have another system running a different
version (4.1) with very similar schema on which the same queries work
fine. Is it possible to diff the config directories to determine what
changes I need to make? Maybe search for differences in occurances of
the OID of the atr?

It's not possible to diff the two. The config files are very different between the two versions.


This may be a bug in indexing in 5.1. You may have to export your data and reimport it for the index to take effect.


Apologies if any of this sounds silly. I'm just starting out with this stuff.


Thanks!


Vivek
---

Rich Megginson <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...

When added the indexes on your attrs, did you build the index file? There is a command line program called db2index. I can't remember how to do it from the console.

Vivek wrote:

Question from an ldap newbie -

I'm using iPlanet 5.1 installed on Solaris 8.

When I run ldapsearch on a people tree where the filter contains
commonly used directory atrs like cn, sn etc., the results come back
almost instantaneously. Keeping everything the same, if I use one my
created atrs in the filter, the results take upto 10 seconds.

I've added equality/presence/substring indexes on my created atrs but
that does not seem to help.

The custom atr exists on all the entries being searched.
I'm in a time-crunch and have been unable to get answers from any
other source including scouring google/elsewhere.


TIA from a grateful newbie!


-Vivek

_______________________________________________ mozilla-directory mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-directory

Reply via email to