[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: why is dn indexed ??

At 05:12 PM 3/9/00 +1100, Gerrit Thomson wrote:
>    I have been watching an ldif2ldbm process foing on my machine for
>four hours now and it is stuck on substring indexing of dn.

You must be using an older version.  Later versions don't apply
generate a DN substring index unless configured to do so.

>As far as I can see this index is not specified in the slapd file, I
>have tried to locate where the trigger for it is in the ldif2ldbm
>program and the ldif2index program.

back-ldbm requires a DN index (equality in 1.2.9) to be generated.
Earlier versions required "eq,sub".

>I wonder what the use of substring indexing of the dn when the dn cannot
>be used for searches or am I wrong. I can;t think of any process within
>the server where substring searches of the dn would be used. Equality
>searches possibly but not substring.

substring indices, if available, are used in subtree searches.

>Is this a hangover from  x500 that is no longer valid as a standalone
>service ?