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

approx searches (ITS#803)



Full_Name: Martin Evans
Version: 2.0.4
OS: Solaris and Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (138.37.8.180)


Fuzzy Matching in 2.0.4 appears not to work very well.

Approx searches for entries return no results

e.g. An exact match returns ok...

[root@mdte-pc openldap]# /usr/local/bin/ldapsearch -H "ldap://localhost:389"; -x
-LLL "(sn~=holman)"
dn: cn=J G Holman, ou=Computing Services, o=Queen Mary and Westfield College,c
 =GB
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: newPilotPerson
objectClass: labeledURIObject
cn: J G Holman
cn: Dr Holman
cn: John Holman
ou: Computing Services
sn: Holman
postalAddress: Queen Mary & Westfield College $ Mile End Road $ London $ E1 4N
 S
mail: J.G.Holman@qmw.ac.uk
facsimileTelephoneNumber: +44 20 8980 2001
title: Head of Central Servers
roomNumber: Queens' CB207
telephoneNumber: +44 20 7882 5323
labeledURI: http://www.css.qmw.ac.uk/

but any other mispellings return nothing....

"(sn~=hollman)"
"(sn~=holmun)"
"(sn~=holmen)"
"(sn~=holmann)"

only "(sn~=holman)" seems to work.

Ive tried the --enable-phonetic configure option. It made no changes.

Cheers,
Martin.