Skip to content

Improve search performance #10723

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks
st3iny opened this issue Feb 18, 2025 · 2 comments
Open
2 tasks

Improve search performance #10723

st3iny opened this issue Feb 18, 2025 · 2 comments
Labels
1. to develop design: interview 🎤 Usability feedback reported by internal users enhancement performance 🚀 skill:backend Issues and PRs that require backend development skills skill:frontend Issues and PRs that require JavaScript/Vue/styling development skills

Comments

@st3iny
Copy link
Member

st3iny commented Feb 18, 2025

Is your feature request related to a problem? Please describe.

Searching for emails is a sluggish experience and takes time to load. Even if the there are some emails cached locally already.

Describe the solution you'd like

The perceived performance of searching emails could be improved.

  1. Initially search only in emails that have already been loaded on the frontend until remote results come in.
  2. Limit the search to one month back first before searching the rest.

Describe alternatives you've considered

No response

Additional context

No response

@st3iny st3iny added skill:backend Issues and PRs that require backend development skills skill:frontend Issues and PRs that require JavaScript/Vue/styling development skills labels Feb 26, 2025
@st3iny
Copy link
Member Author

st3iny commented Feb 26, 2025

Additional idea

  • Split the search endpoint into two: one for the db and one for the imap server. This way both could be executed at the same time which significantly reduces the time until the first results come in.

@nimishavijay nimishavijay added the design: interview 🎤 Usability feedback reported by internal users label May 2, 2025
@st3iny
Copy link
Member Author

st3iny commented May 26, 2025

The PR at #11055 should also help with the database search. The index over (normalized) email addresses can be used afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop design: interview 🎤 Usability feedback reported by internal users enhancement performance 🚀 skill:backend Issues and PRs that require backend development skills skill:frontend Issues and PRs that require JavaScript/Vue/styling development skills
Projects
None yet
Development

No branches or pull requests

2 participants