Odd searching issue when searching for text

Hi Daniel,

Thanks for the feedback.
Yes, as Lukas pointed out, Inkdrop currently uses porter stemming algorithm in its full-text search, which doesn’t work like grep. Specifically, it doesn’t support middle-letter matching by design.

But I understand it’s not perfect for searching those tech notes like your case. I’ve been wanting to switch to another algorithm that could support partial matches without losing the performance.

Today, I researched again, and found that SQLite’s FTS5 now officially supports trigram!!!
I remember that it wasn’t available when implementing the search feature. Great news.
One drawback is that you are no longer able to search with words less than three characters.
But worth trying it.

1 Like