Spaces and IMAP searching with Cyrus

Rob Siemborski rjs3 at andrew.cmu.edu
Fri May 28 14:29:24 EDT 2004


On Fri, 28 May 2004, Ted Cabeen wrote:

> A number of my users have been reporting problems with searching.  It
> seems like the Cyrus server is totally ignoring whitespace when
> performing searches.  This behavior causes quite a few false positives
> in my searches.  For example, a search for "logo" will return messages
> with the following subject: "Log of changes for ws....".  This can
> make it very hard to find some messages.  Is it possible to
> reconfigure Cyrus to not match results that cross word boundaries or
> to respect spaces?  This behavior is pretty non-intuitive.

No, it is not possible without changing the code.  In many cases, its 
better to give too many search results than too few.

Of course, were are fast approaching the day where the search and sort 
comparitors will require that we do stringprep on all the strings, and 
that day will be very sad.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list