Search cannot handle large inboxes
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
Search any thing on inbox with with a large inbox (in test over 10k messages) results in Could Not Open Mailbox
Expected behavior
Search should retrieve and display results of query.
Other clients (SnappyMail, RoundCube, SOGo, Google Mail, Thunderbird) have no issue returning results relatively quickly.
Actual behavior
After a long wait time, screen returns Could Not Open Mailbox.
Mail app version
3.7.8
Mailserver or service
dovecot
Operating system
Ubunty 20.04
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database
MariaDB
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the search in a Dovecot inbox with more than 10,000 messages using the reported PHP 8.1 and MariaDB setup, then trace the path that produces “Could Not Open Mailbox.” Done means queries return and display results without the long wait or mailbox error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, mariadb, php
- Domain
- backend, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100