From: Howard Chu Date: Wed, 21 Nov 2007 03:10:39 +0000 (+0000) Subject: Add index_intlen keyword X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~411 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a25bfec9d992c01412c85272e366d96000439c18;p=openldap Add index_intlen keyword --- diff --git a/doc/man/man5/slapd-config.5 b/doc/man/man5/slapd-config.5 index 8064c8cf30..1b5032846e 100644 --- a/doc/man/man5/slapd-config.5 +++ b/doc/man/man5/slapd-config.5 @@ -453,6 +453,12 @@ Specify the number of seconds to wait before forcibly closing an idle client connection. A setting of 0 disables this feature. The default is 0. .TP +.B olcIndexIntLen: +Specify the key length for ordered integer indices. The most significant +bytes of the binary integer will be used for index keys. The minimum +value is 4, which provides exact indexing for 32 bit values. +The default is 0, which disables the use of ordered indexing. +.TP .B olcIndexSubstrIfMaxlen: Specify the maximum length for subinitial and subfinal indices. Only this many characters of an attribute value will be processed by the @@ -479,7 +485,10 @@ lookup. The default is 2. For example, with the default values, a search using this filter "cn=*abcdefgh*" would generate index lookups for "abcd", "cdef", and "efgh". -Note: Indexing support depends on the particular backend in use. +.LP +Note: Indexing support depends on the particular backend in use. Also, +changing these settings will generally require deleting any indices that +depend on these parameters and recreating them with slapindex. .TP .B olcLocalSSF: diff --git a/doc/man/man5/slapd.conf.5 b/doc/man/man5/slapd.conf.5 index cf817d53a6..9c71886f76 100644 --- a/doc/man/man5/slapd.conf.5 +++ b/doc/man/man5/slapd.conf.5 @@ -470,6 +470,12 @@ feature. The default is 0. Read additional configuration information from the given file before continuing with the next line of the current file. .TP +.B index_intlen +Specify the key length for ordered integer indices. The most significant +bytes of the binary integer will be used for index keys. The minimum +value is 4, which provides exact indexing for 32 bit values. +The default is 0, which disables the use of ordered indexing. +.TP .B index_substr_if_minlen Specify the minimum length for subinitial and subfinal indices. An attribute value must have at least this many characters in order to be @@ -496,7 +502,10 @@ lookup. The default is 2. For example, with the default values, a search using this filter "cn=*abcdefgh*" would generate index lookups for "abcd", "cdef", and "efgh". -Note: Indexing support depends on the particular backend in use. +.LP +Note: Indexing support depends on the particular backend in use. Also, +changing these settings will generally require deleting any indices that +depend on these parameters and recreating them with slapindex. .TP .B localSSF