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

Re: Efficient Searching



At 05:21 PM 5/23/00 +0100, Neil Hunter wrote:
>I've got a few questions regarding the search process in OpenLDAP - any help
>appreciated!

Note that this list if for questions not specific to OpenLDAP software.
Such questions should be asked on the openldap-software mailing list.

I'll give a general answer below... it applies to most LDAP servers
(including OpenLDAP).

>I'm trying to get clear in my head whether, given a simple mapping from a value
>to a DN, it is more efficient to create an equality index on an attribute or to
>issue a base-scope search.

In general, it is more efficient to obtain a single entry with
a base scope search regardless of what indexes might be available.