[Date Prev][Date Next]
approx index in openldap 2.0
I've just started using openldap recently. I was asked to
improve the search capabilities of an existing application. I read
the documentation and it looked as though using the approx index on
appropriate fields would solve my problem.
I'm running Debian unstable, and the packaged version of slapd.
I added an approximate index to my configuration file and got
Starting ldap server(s): slapd/etc/ldap/slapd.conf: line 57: approx
index of attribute "cn" disallowed
So, I thought that maybe my package was compiled without
--enable-phonetic, so I downloaded the source code, and re-compiled
(after configuring with --enable-phonetic). This gave me the
I searched through the archives of this list and found the
"2.0 doesn't support approximate matching except through
"It's a documentation error. 2.0 does not support approximate
matching for any syntax. The configure directive should
yield an error regardless of the attribute specified."
So, my questions are:
1. Is this feature (which I believe worked in the 1.0 series) likely
to be re-incorporated into openldap version 2.0 any time soon? How
much work would this involve?
2. Could someone explain "2.0 doesn't support approximate matching
except through equality matching."? Does it mean that the only
approximation is binary (i.e. either it is/is not equal), which I
think is the limiting case of approximation. Or am I interpreting
this too literally?
P.S. Can I add my name to the list of those who would like the
documentation to be changed in regard to this non-functional option.