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

Re: Problem finding telephonenumber in a plain numeric search when number is stored with special characters

Howard Chu writes:
>Walter Kempel wrote:
>> It seems that Notes keeps all non-digit characters out of the
>> telephonenumber index AND the search.
>> How can I achieve the same under OpenLdap?
> Currently you can't. OpenLDAP's telephoneNumber syntax only strips
> the '-' characters out of the number for indexing.

Also spaces.  That's what the LDAP standard says it should do.

> Perhaps you should file an ITS requesting that this be changed; it
> probably would be more useful to only preserve numeric digits in the
> index (and the matching).

I think an approx matching rule would be better, that can match any
way we want it to without breaking the standard.