Steps to reproduce
- Go to a mailbox containing a lot of emails
- Search for something using the search bar
Expected behavior
You get a results in an acceptable amount of time.
Actual behavior
You get no results.
Mail app version
4.0.7
Nextcloud version
30.0.2
Mailserver or service
dovecot (imap)
Operating system
freebsd
PHP engine version
PHP 8.2
Nextcloud memory caching
'memcache.local' => '\OC\Memcache\APCu', 'memcache.locking' => '\OC\Memcache\Redis',
Web server
Nginx
Database
MariaDB
Additional info
The problem is because it also defaults to searching in the mail body (which is probably very expensive). Searching via the "Extra Settings" window (next to the bar) and using only one field returns results extremely quickly also in very very large mailboxes.