[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
substring match vs. insignificant space removal
- To: OpenLDAP-software@OpenLDAP.org
- Subject: substring match vs. insignificant space removal
- From: Donn Cave <donn@u.washington.edu>
- Date: Thu, 23 Mar 2006 11:01:52 -0800
- In-reply-to: <85d6be850602170745v619816ebq@mail.gmail.com>
- References: <85d6be850602170156o2b4a862eq@mail.gmail.com> <7.0.1.0.0.20060217072352.022972d0@OpenLDAP.org> <85d6be850602170745v619816ebq@mail.gmail.com>
Working on a white pages search application, I ran into
a problem with substring searches: if you search, for
example, for 'cn=jo* b* lo*', you would (naively) be
surprised to get, for example, 'Joe Blow' or 'Joby Lowe'
as a result - the spaces before 'b' and 'l' were supposed
to filter for separate words starting with those characters.
I'm guessing this goes back to the U Mich implementation.
It isn't inconsistent with the RFCs I could find, though even
recent working drafts don't specifically raise any question
as to whether insignificant space removal should apply in
exactly the same way to parts of a substring match, as to
a regular string match.
Is there any way to work around this? Quoting the internal
spaces doesn't seem to help.
Thanks,
Donn Cave, donn@u.washington.edu