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

Re: Long time queris on search string of 3 char



S-linuxale wrote:
Hi Quanah,
Ok this is exactly what I was searching.

I Think you are involved in develop of openldap to know this thing.

But I like to know where this info could be get...from an adminstrator ,
if possible, without read the code!

As Quanah already pointed out, these values are documented in the slapd.conf(5) man page. As an administrator, you should be reading those man pages.
Thanks a lot
Alex


On Thu, 2006-01-19 at 08:50 -0800, Quanah Gibson-Mount wrote:
--On Thursday, January 19, 2006 10:28 AM +0100 S-linuxale <linuxale@libero.it> wrote:

Hi All!
I'm new to this mailing list...
After a lot of time waste to try to understand why I'm here to ask
Why! :-)

So I'v an Openldap server slapd 2.2.13 popolated with about 800 hundred
entries on a P4 2.6 with 512Mb.

I'v noted that on search of substring >3 the result are fast, about
1-3', but when I try to search anything under 3 char the server respond
after 450-500' with different search.
This is by design. I suggest upgrading to OpenLDAP 2.3.18, the latest release. In OpenLDAP 2.3, you can tune the number of characters at which substring searches respond to with the:

index_substr_if_minlen
index_substr_if_maxlen
index_substr_any_len
index_substr_any_step

parameters in slapd.conf(5)


--
 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/