Notes search is very slow via global search
Open
Nobody has claimed this yet.
bug
need to reproduce
performance 🚀
- Dominant language
- JavaScript
- Stars
- 738
- Forks
- 162
- Avg merge
- 6h 2m
- Merged PRs (30d)
- 35
Description
Steps to reproduce
- Open Nextcoud web interface
- Click on the notes icon to open the notes app
- Click on the search icon
- Search for a note title
Actual behaviour
Search is annoyingly slow - many seconds, and worst: "Notes" results are shown last
Expected behaviour
Valid notes search results should be shown immediately similar to e.g. the Android app
Two possible solutions come to mind:
- Offer a notes-specific search (additional to global search)
- Fix the global search. E.g. make the app-specific search context aware. When I'm in the notes app, search for notes first, than search other apps like files etc.
Server
Please complete the following information.
Notes app version: 4.6.0
Nextcloud version: 25.0.2
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 delay through the Nextcloud web interface using the listed steps, with Notes app 4.6.0 and Nextcloud 25.0.2. Trace the global-search path used from the Notes app; done means valid note results appear promptly and are not deferred behind results from other apps, with the chosen approach confirmed by maintainers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- search
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100