[dev] Multiword query for composite fields in turba
Michael Rubinsky
mike at theupstairsroom.com
Fri Mar 11 09:23:14 PST 2005
I just submitted a patch that provides this functionality on bugs.horde.org
(Ticket 1536).
It tested fine on IMSP and SQL drivers from within turba, but had problems
doing email expansion from IMP when using the SQL driver (will only search
the first field choosen for email expansion even if more than one is
choosen in prefs). I'll have to look at the SQL driver more closely, but I
think that it doesn't allow for an arbitrary number of nested searches in
$criteria. I'll try to take a look at that shortly.
Hope this helps.
Mike
> From: Chuck Hagenbuch <chuck () horde ! org>
> Date: 2005-02-19 4:27:55
> Message-ID: <20050218232755.huttrid6gb48ws84 () marina ! horde ! org>
>
>
> Quoting Ben Poliakoff <benp at reed.edu>:
>
>> Currently Turba (I'm using CVS HEAD) takes a search query as a single
>> literal value. Is there an obvious way for it to take a search query as
>> a whitespace delimited list of strings which could then be cumulatively
>> constructed into an "AND" query against the addressbook?
>
> It'd involve code changes, we'd probably want a way to check for quoted
> whitespace (to allow exact searches), but it wouldn't be that hard. You
> can open an enhancement request on bugs.horde.org if you like.
>
> -chuck
More information about the dev
mailing list