Author Topic: How do I search server side  (Read 11319 times)

beaky

  • Full Member
  • ***
  • Posts: 169
How do I search server side
« on: August 03, 2013, 07:26:54 pm »
I recently tried to search for some emails that were about 3 months old. This search was started in the inbox of my main account. By the way, if it helps, My account is IMAP, set up to keep 500 on the aquamail client, and 25 loaded in full. The account has about 18500 in it on the server. The search box comes up initially with the message 'search all loaded'; it returns matches that went back about a month, to 6 July. The search box then says 'global search', so I assumed it should have searched on the server after it had searched 'all loaded'. In any case I do not know in advance how far back in time the 'loaded' 500 takes me.
However, it did not find the wanted item,  one that dates from May this year.
I repeated the search on my iPhone 4s that uses the default mail client, also on IMAP, and the wanted item was found.
I also find it with Thunderbird on my main PC.
The ui of aquamail shows me '1574/18452' next to the inbox, suggesting I THINK that about 8% of my messages are unread. Mostly old ones from a year or two ago when I was away from home.
Today, some 3 days later, if I repeat the search, the earliest match on that search is for 10 July, I.e. the match from 6 July is no longer found.
Can you advise me how to ensure that I can search the server, after a search of already-loaded items is exhausted. I suspect the search is stopping at the 500 item mark.
The words 'global search' led me to suppose that the server should be searched.
My android device runs android 4.3 on a Google nexus 10 tablet.
Either the product is working incorrectly, or it is working correctly, but the process to do a full search is less than clear in the user interface.

Thanks,
Dave Beakhust

sushidog

  • Newbie
  • *
  • Posts: 3
Re: How do I search server side
« Reply #1 on: August 04, 2013, 10:17:59 am »
+1 I tried several times searching on servers, with 3 different email accounts, without any success and with similar results you've got. Same tests made with latest  k-9 releases worked flawless.

This is a very serious bug and need to be corrected ASAP.

Sent from my Nexus 7
« Last Edit: August 04, 2013, 10:19:54 am by sushidog »

Squee

  • Newbie
  • *
  • Posts: 13
Re: How do I search server side
« Reply #2 on: August 04, 2013, 10:57:23 am »
I had the same issue. I uninstalled and re-installed aqua mail and now it works fine. The only thing that bothers me is that you can only search within one folder and not the whole account.

Squee

sent from my mobile phone
« Last Edit: August 04, 2013, 05:34:53 pm by Squee »

beaky

  • Full Member
  • ***
  • Posts: 169
Re: How do I search server side
« Reply #3 on: August 04, 2013, 05:04:07 pm »
I am relieved I am not alone in this issue. As this is not my only access to mail, not even my only portable access, I will hold on perhaps until KV is able to respond. My worry about uninstall/reinstall is that the problem may recur, either creeping up gradually or being triggered by an update of AM or Android.
Regarding the issue of searching in the smart folder, that would be nice, but several other things come first I think. For example, conversation or threaded display 'would be nice' too, but i guess that too would only nicely work within an existing account, without considerable change being made to the smart folder view ( that currently does not 'pull to refresh' in the same way, or scroll past loaded emails.) I am guessing changing all that would have to precede a search on smart folder or a conversation mode.
I only have 3 accounts, and likely would only search in two, so no hardship for me, but YMMV!
I can see that searching in the smart folder looks as if it "just" needs a bit of automation, like searching each account for your search term in turn, rather as the refresh probably does. Trouble is, would the results then be in date order, or finding order? Also, how do you recover if the user gets fed up waiting and taps another command. Adding features to software always has unintended consequences - typically multiplying the number of ways it can break.
All said and done, I would forgo some bells and whistles to have something that is hard to break!

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: How do I search server side
« Reply #4 on: August 06, 2013, 02:30:14 am »
Searching from the main "window" (account list) searches loaded messages only, just like it says in the query edit control. On the other hand, it searches all accounts / folders at once.

Searching from a message list searches on the server (IMAP only).

Works fine in my Gmail account (83000 messages on the server), and many many other IMAP accounts / servers.

To investigate further, I'd need a debug log, as described below:

http://www.aqua-mail.com/?page_id=232
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

beaky

  • Full Member
  • ***
  • Posts: 169
Re: How do I search server side
« Reply #5 on: August 06, 2013, 11:19:37 pm »
Searching from the main "window" (account list) searches loaded messages only, just like it says in the query edit control. On the other hand, it searches all accounts / folders at once.

Searching from a message list searches on the server (IMAP only).

Works fine in my Gmail account (83000 messages on the server), and many many other IMAP accounts / servers.

To investigate further, I'd need a debug log, as described below:

http://www.aqua-mail.com/?page_id=232
Works correctly as you say if I hit the search button in the bottom margin below the message list, in one single folder at a time.
As it goes back in time it becomes slow - looks like possibly a server performance thing.
I think I was confused by the search icon at the top also being above the message list ( by coincidence).

Dave

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: How do I search server side
« Reply #6 on: August 14, 2013, 02:42:21 am »
Good.

And just in case anyone is having issues with server side search on Kerio servers.... I have a workaround / fix that will be in the next dev build.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/