Re: What to do about SEARCH?

Charles Cazabon <[email protected]> Thu, 6 Mar 2003 14:54:37 -0600
Newsgroups gmane.mail.bikini.devel
Message-ID <[email protected]>
Frank Tegtmeyer <[email protected]> wrote:
> 
> To add one: what should be returned? A list of messages only,

That's what I thought.  The client is likely going to retrieve matching
messages anyway.

> The default for search strings should be a simple wildcard mechanism,
> for power users it should be switchable to regular expressions.

I find regexes not very valuable for dealing with message headers.  See my
previous message for why.

> What about combination of criteria? What may be useful is a
> combination of time period (upper/lower limit), Author (From:) and
> search text.

Now we start to get into highly structured searching.  Becomes very complex.

> I didn't read the spec yet, but remember that folders are included. So
> also a search through one folder / all folders may be good criteria.

Searching all folders could get very expensive for the server.  I think it
should only search one folder; the client can issue multiple search requests
if it absolutely has to.  If you're looking for a given message, you likely
know what folder its in, don't you?

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                           <[email protected]>
BikINI project website:    http://www.qcc.ca/~charlesc/software/bikini/
GPL'ed software available at:     http://www.qcc.ca/~charlesc/software/
-----------------------------------------------------------------------