Re: [Evolution] search feature slow - in one account only

2018-12-12 Thread Patrick O'Callaghan
On Wed, 2018-12-12 at 08:09 -0700, Zan Lynx wrote:
> Indeed. I regularly use ripgrep / rg to search multiple gigabytes of mail 
> spool and it can do that faster than 23 seconds.
> _

Presumably its local mail spool, so that's unsurprising. The OP has his
mail on an IMAP server.

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] search feature slow - in one account only

2018-12-12 Thread Zan Lynx
On December 12, 2018 3:07:20 AM MST, Herr Oswald  wrote:
>Am Mittwoch, den 12.12.2018, 09:42 +0100 schrieb Milan Crha via
>evolution-list:
>> On Wed, 2018-12-12 at 09:30 +0100, Herr Oswald wrote:
>> > When I do a keyword search, it
>> > takes 23 secs till I get the results.
>> 


>> The 1300 messages in a folder is literally nothing, it should be
>> instant.
>
>Agreed.
>With "whole message" as well? Is 23s for "search the whole news" with
>1700 messages acceptable? - I think on a 8core xeon it should be
>faster.
>
>
>Greetings,
>Wolf 
>
>___
>evolution-list mailing list
>evolution-list@gnome.org
>To change your list options or unsubscribe, visit ...
>https://mail.gnome.org/mailman/listinfo/evolution-list

Indeed. I regularly use ripgrep / rg to search multiple gigabytes of mail spool 
and it can do that faster than 23 seconds.
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] search feature slow - in one account only

2018-12-12 Thread Milan Crha via evolution-list
On Wed, 2018-12-12 at 11:07 +0100, Herr Oswald wrote:
> With "whole message" as well? Is 23s for "search the whole news" with
> 1700 messages acceptable? - I think on a 8core xeon it should be
> faster.

Hi,
it's basically as Patrick said, though I'd be a bit more concrete,
because the things do not work that way always.

Fist of all, we speak about IMAPx. Other providers can have it done
differently.

When you are online, the search for "message contains" (or body
contains) always asks the server, then it filters the messages as
below. If not in online, only the messages which are already downloaded
are checked (and eventually included in the search result). From this I
believe the significant (or maybe half of it) time being used is while
waiting for the server response.

Search in headers also depends on the actual header to be checked. Some
are part of the local summary, some are not. For those which are not
the message is needed, thus it is downloaded, if not found in the local
cache.

Filtering (which is similar to search, code-wise speaking) of new
messages has some performance improvements for header filtering in the
background. When the provider also downloaded the main headers, then
the message itself is not downloaded even when filtering on headers
which are not part of the local summary.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] search feature slow - in one account only

2018-12-12 Thread Andre Klapper
On Wed, 2018-12-12 at 11:07 +0100, Herr Oswald wrote:
> Allright. In "search", the slow folders do have "message contains",
> the
> fast ones "sender and abount contains". This is an explanation.
> 
> Now - how can I change the setting?

Have you checked the user help?
https://help.gnome.org/users/evolution/stable/mail-searching.html

If you checked the user help and could not find this information I'd be
curious how to phrase things better or what else made you not succeed.
If you did not check the user help I'd be curious why you did not.

andre
-- 
Andre Klapper  |  ak...@gmx.net
https://blogs.gnome.org/aklapper/


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] search feature slow - in one account only

2018-12-12 Thread Ralf Mardorf via evolution-list
On Wed, 12 Dec 2018 11:07:20 +0100, Herr Oswald wrote:
>Allright. In "search", the slow folders do have "message contains", the
>fast ones "sender and abount contains". This is an explanation.
>
>Now - how can I change the setting?

In the search bar at the left side is an icon. This icon most
likely is a magnifier. Click the icon and check an option provided by
the drop-down list.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] search feature slow - in one account only

2018-12-12 Thread Patrick O'Callaghan
On Wed, 2018-12-12 at 11:07 +0100, Herr Oswald wrote:
> > The 1300 messages in a folder is literally nothing, it should be
> > instant.
> 
> Agreed.
> With "whole message" as well? Is 23s for "search the whole news" with
> 1700 messages acceptable? - I think on a 8core xeon it should be
> faster.

If you're searching the message content, it has to be fetched from your
IMAP server. If you're just searching the headers, Evolution already
has them. The speed of your machine is not the determining factor.

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] search feature slow - in one account only

2018-12-12 Thread Herr Oswald
Am Mittwoch, den 12.12.2018, 09:42 +0100 schrieb Milan Crha via
evolution-list:
> On Wed, 2018-12-12 at 09:30 +0100, Herr Oswald wrote:
> > When I do a keyword search, it
> > takes 23 secs till I get the results.
> 
>   Hi,
> what is the exact search, please? Each folder can have its own search
> settings, thus be careful about all three search parts ("Show",
> "Search" and "in" fields).

Allright. In "search", the slow folders do have "message contains", the
fast ones "sender and abount contains". This is an explanation.

Now - how can I change the setting?


> I'd also run evolution from a terminal and verify it doesn't claim
> any
> issue there when running the search.

In terminal, no messages at all.

> 
> The 1300 messages in a folder is literally nothing, it should be
> instant.

Agreed.
With "whole message" as well? Is 23s for "search the whole news" with
1700 messages acceptable? - I think on a 8core xeon it should be
faster.


Greetings,
Wolf 

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] search feature slow - in one account only

2018-12-12 Thread Milan Crha via evolution-list
On Wed, 2018-12-12 at 09:30 +0100, Herr Oswald wrote:
> When I do a keyword search, it
> takes 23 secs till I get the results.

Hi,
what is the exact search, please? Each folder can have its own search
settings, thus be careful about all three search parts ("Show",
"Search" and "in" fields).

I'd also run evolution from a terminal and verify it doesn't claim any
issue there when running the search.

The 1300 messages in a folder is literally nothing, it should be
instant.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] search feature slow - in one account only

2018-12-12 Thread Herr Oswald
Hello everybody,

I've got 3 accounts in my evo.
One of them holds around 1300 messages. When I do a keyword search, it
takes 23 secs till I get the results.

A second account holds around 1100 messages - the answer comes in
immediately.

Both are the same server, imap etc...

How can I speed up the search at the first account? - Delete cache,
rebuild mailbox, setting?

Thanks a lot in advance,
Wolf  

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list