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

2019-01-08 Thread Milan Crha via evolution-list
On Tue, 2019-01-08 at 07:05 +0100, Herr Oswald wrote:
> Third test run - online again
> First search carried out is slow
> All following searches are quick

Hi,
I'd guess it's due to the server being smart and cache the search
results, thus when the same search is run again it gets the result from
the cache. Or the server has loaded/indexed folder content after the
first search and reuses it afterwards. Or there are many other server-
side optimizations involved, triggered by the first search.

> Nevertheless it might not be ideal and deserves some occasional
> further research

You can file a bug, as I suggested earlier. There can be done some
changes like using the offline data if the folder is marked for offline
without time limits. That's your case, if I understood it properly.
Thanks and 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

2019-01-07 Thread Herr Oswald
> To add to that: there is a setting to keep stored for offline only
> part
> of the folder, like several recent weeks/months/... Which means not
> every message can be downloaded locally.
> 
> Having an optimization of "whole folder is stored for offline", then
> avoid server-side searching, can be done. It might be eventually
> easy.
> Before you file a bug for it [1], could you try:
> a) File->Work offline
> b) wait until evolution is offline
> c) do the search.
> Will it be quicker? Will it end with any error message? If not for
> both, then I'd say file a bug. Also verify that in online the search
> will be slow:
> d) clear the search
> e) File->Work online
> f) wait until evolution is fully online
> g) do the search.
> 
Hello Milan,
thanks you for your reply. I did some testing and could not really
understand evo's behaviour. 
All tests were done for "message contains", I used short German names
as search phrase, my mailboxes do contain around 1000 messages.

First test run - online
All searches were slow - 17-22s 

Second test run - offline
Choose "synchronize folder locally for offline use"
All searches then quick - 1,5 -2,5s

Third test run - online again
First search carried out is slow
All following searches are quick
This happens independently from the folder settings (folder list >
properties) and the setting under "edit > settings > eamil accounts >
reception options > options -  automatically synchronize remote emails
locally"


So I'm a little out of clue now. Performance improved greatly for
unknown reasons and I'm not unhappy with the situation now
Nevertheless it might not be ideal and deserves some occasional further
research 
.
Cheers,
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

2019-01-04 Thread Milan Crha via evolution-list
On Fri, 2019-01-04 at 10:02 +0100, Herr Oswald wrote:
> Should it? - Or what does it actually do?

Hi,
the answer is here:
https://mail.gnome.org/archives/evolution-list/2018-December/msg00018.html

To add to that: there is a setting to keep stored for offline only part
of the folder, like several recent weeks/months/... Which means not
every message can be downloaded locally.

Having an optimization of "whole folder is stored for offline", then
avoid server-side searching, can be done. It might be eventually easy.
Before you file a bug for it [1], could you try:
a) File->Work offline
b) wait until evolution is offline
c) do the search.
Will it be quicker? Will it end with any error message? If not for
both, then I'd say file a bug. Also verify that in online the search
will be slow:
d) clear the search
e) File->Work online
f) wait until evolution is fully online
g) do the search.

Thanks and bye,
Milan

[1] https://gitlab.gnome.org/GNOME/evolution-data-server/issues/new


___
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

2019-01-04 Thread Herr Oswald
I'd like to come back to this question:

In "folder properties" I checked the box "copy folder contents locally
for offline mode" / see attached screen). I thought that this would
create a local data set, so that one would be searchable quickly.
It seems not to do so. 

Should it? - Or what does it actually do?

Thanks for clarification,
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-13 Thread Herr Oswald
> However the best way to make such suggestions is to file a Request
> For
> Enhancement (RFE) on the Gitlab page, and post the link here so
> others
> can comment. 

Done.
https://gitlab.gnome.org/GNOME/evolution/issues/263

W

___
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-13 Thread Patrick O'Callaghan
On Thu, 2018-12-13 at 11:35 +0100, Andrea Vai wrote:
> Hi Herr,
> Il giorno gio, 13/12/2018 alle 11.17 +0100, Herr Oswald ha scritto:
> > Thank you very much to everybody for all that clarification. 
> > 
> > [...]
> > 
> > And another thing:
> > I've been using evo for 4 years now, but never had the idea that the
> > magnifier symbol could be home of a control. To me, it ever only was
> > an
> > invitation "type text here". I do not have a brilliant other idea to
> > make it more speaking, maybe somebody else has? - Here some
> > suggestions:
> >  * place a little triangle besides the magnifier - as in the pop up
> >menus
> >  * make the word "search" a pop up menu with the options
> >  * place a hamburger between "search" and the magnifier
> > ... well, certainly there are better ideas around.
> 
> In my 3.28.5, the rollover text on the lens ("click here to change
> search type") is in my opinion (and, indeed, has been to me in the
> past) clear enough to invite people to click on it. Don't you have it
> the same way?

That only works if you think to roll over it. Some people may not. I
think a more obvious indicator has some merit.

However the best way to make such suggestions is to file a Request For
Enhancement (RFE) on the Gitlab page, and post the link here so others
can comment. See:

https://gitlab.gnome.org/GNOME/evolution/issues

Otherwise they get lost.

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-13 Thread Herr Oswald
> In my 3.28.5, the rollover text on the lens ("click here to change
> search type") is in my opinion (and, indeed, has been to me in the
> past) clear enough to invite people to click on it. Don't you have it
> the same way?

You got me... ):

Well, I'd say this solution is for the patient ones. I'm not. And I
think, there may be some other impatient ones out there

W


___
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-13 Thread Andrea Vai
Hi Herr,
Il giorno gio, 13/12/2018 alle 11.17 +0100, Herr Oswald ha scritto:
> Thank you very much to everybody for all that clarification. 
> 
> [...]
> 
> And another thing:
> I've been using evo for 4 years now, but never had the idea that the
> magnifier symbol could be home of a control. To me, it ever only was
> an
> invitation "type text here". I do not have a brilliant other idea to
> make it more speaking, maybe somebody else has? - Here some
> suggestions:
>  * place a little triangle besides the magnifier - as in the pop up
>menus
>  * make the word "search" a pop up menu with the options
>  * place a hamburger between "search" and the magnifier
> ... well, certainly there are better ideas around.

In my 3.28.5, the rollover text on the lens ("click here to change
search type") is in my opinion (and, indeed, has been to me in the
past) clear enough to invite people to click on it. Don't you have it
the same way?

Bye,
Andrea

___
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-13 Thread Herr Oswald
Thank you very much to everybody for all that clarification. One
question remains:
In "folder properties" I checked the box "copy folder contents locally
for offline mode" Usee attached screen). I thought that this would
create a local data set, that one should be searchable quickly.
Obviously it does not. 

So what does that check box actually do?


And another thing:
I've been using evo for 4 years now, but never had the idea that the
magnifier symbol could be home of a control. To me, it ever only was an
invitation "type text here". I do not have a brilliant other idea to
make it more speaking, maybe somebody else has? - Here some
suggestions:
 * place a little triangle besides the magnifier - as in the pop up
   menus
 * make the word "search" a pop up menu with the options
 * place a hamburger between "search" and the magnifier
... well, certainly there are better ideas around.

Thank you for the supports and all your effort.
Cheers,
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 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