[Date Prev][Date Next]
Re: logic of approx search in ldap
At 06:02 AM 6/7/2006, Nasrin.N@xansa.com wrote:
>Please explain what happens when searched by filter approx ("~="). It will
>be very helpful if you specify some examples along with algorithm used in
For attributes with caseIgnoreMatch or caseExactMatch equality
rule, a basic description (with examples) of the basic algorithm
used in slapd(8) can be found in Section 4.2 of "An X.500 and LDAP
Database: Design and Implementation" by Tim Howes (U. of Michigan)
(available at: http://www.openldap.org/pub/umich/xldbm.pdf>).
slapd(8) implements approximate rules for attributes of various
other equality rules, and where it doesn't, falls back to the
See the code for particulars.
I note that the approximate code has changed a bit over the
years and it likely will continue to change, so your mileage
may vary. Of course, with approximate matching, one should
never rely on any particular matching behavior (other than
X match Y if X and Y are equal per the equality rule)
>Thanks & Regards,
>Whilst this email has been checked for all known viruses, recipients should undertake their own virus checking as Xansa will not accept any liability whatsoever.
>This email and any files transmitted with it are confidential and protected by client privilege. It is solely for the use of the intended recipient.
>Please delete it and notify the sender if you have received it in
>error. Unauthorised use is prohibited.
>Any opinions expressed in this email are those of the individual and not
>necessarily the organisation.
> Xansa, Registered Office: 420 Thames Valley Park Drive,
> Thames Valley Park, Reading, RG6 1PU, UK.
> Registered in England No.1000954.
> t +44 (0)8702 416181
> w www.xansa.com