NotePlan
NotePlan
Aug 22

Slow search for 3,000 files

I have 3,000 note files I have accumulated over the years, and it takes 30 seconds to search them for a specific file in NotePlan. I would love to switch from Obsidian, but until NotePlan can handle thousands of notes quickly, it does me little good. Any plans to speed up the performance? Thanks.
PendingPending

Aug 8, 2023

Do other people also have performance Problems with searching? This would impact me in my transition to noteplan. I will have thousands of notes too.

Jan 19, 2023

I had this problem as well, a lot. I think it only goes away with a hardware upgrade to silicon. My i7 would be perfectly functional and fast, in theory.

Aug 23, 2021

Which search are you using? If you use the Command Bar (CMD+J) and start typing the note title, it should appear fast. Sounds like you are using the search function which searches inside notes (top left in the sidebar of NotePlan)?

Aug 23, 2021

Eduard Metzger: Ah, I didn't know that. Yes, the Command Bar is very fast and will work just fine. Time for me to buy the app. Thanks!

Aug 23, 2021

Eduard Metzger: I appear to have run into a similar problem with the "Review" option. It must also search inside the notes because it is taking 52 seconds for results to appear on a new MacBook with 3,000 notes. Is there a way to limit the search to a single folder where I can move all my ToDo files? Everything else about NotePlan is first rate, but for someone with a lot of notes, the review and textual search feels like the the low-memory 1970s. Hopefully there is another option for this situation as well. Thanks!

Aug 27, 2021

Michael: Review is indeed searching every single note by opening it and hence slow. But it's using a single CPU core I think. Multi-threading it so it uses multiple cores would 4x the speed, but also use that much of your resources. Another approach might be to cache the notes in parallel in a database structure. Will experiment with this eventually.

Aug 27, 2021

Eduard Metzger: Thanks, I appreciate that. As an alternate example, nvALT (https://github.com/ttscoff/nv) filters/searches my 3K notes instantly as I type. Don't know the algorithm, but it's open source and may be worth a look.

Sep 8, 2021

Michael: I‘ll first check if there are any obvious tweaks I can do in the code. But long term the plan is to save the contents of the notes in a database locally (additionally to the file itself), which should be far more efficient in searching.