[imp] imp and quicksearch

Michael M Slusarz slusarz at horde.org
Tue Oct 6 04:09:28 UTC 2015


Quoting Giorgio Paolucci <giorgio.paolucci at unipd.it>:

> Hello Michael,
> thanks for your feedback...Well, I tried to figure out where to make
> some changes to the code, but I could not find the files where quick
> search is implemented. May I ask you if there is a single method or
> class for Entire Message quick search so that I can focus on that
> snipset of code?

Quicksearch is implemented in the javascript code (js/ directory) and  
processed in various files in the lib/Ajax directory.  grepping for  
'qsearch' might be useful.

michael


> Quoting Michael M Slusarz <slusarz at horde.org>:
>
>> Quoting giorgio paolucci <giorgio.paolucci at unipd.it>:
>>
>>> when a user specify some words in the quick search field, IMP does an
>>> exact string match; so if I make a search for "Alice Bob", no result is
>>> returned if a mail contains "Bob calls Alice".
>>> Is there any chance to have an "ANDed" search? I mean find all messages
>>> containing word Alice and word Bob (translating into an IMAP command
>>> such as "30 search text Alice text Bob" ? Of course an advanced search
>>> could be composed, but the quick search is the first option my  
>>> users try....
>>> Thank you in advance.
>>
>> Quicksearch is designed to be the "cheapest" search possible.  If
>> you want to do separate subsearch queries, then you will need to
>> edit the code to do that.
>>
>> michael
>>
>> ___________________________________
>> Michael Slusarz [slusarz at horde.org]
>>
>> --
>> imp mailing list
>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org



___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list