dnote icon indicating copy to clipboard operation
dnote copied to clipboard

Question: Find partial match

Open fabiodcorreia opened this issue 1 year ago • 1 comments

For example if I have notes with the words postgresql, postgres, postgreSQL and PostgresQL.

If I search for postgresql, PostgreSQL or postgresSQL I get the same matches and correct.

But if I search for postgres I expect to get the same matches but I get non of the matches from the previous search.

My expectation is that it would make a partial match since postgres e part of postgresql but looks like it makes a non case-sensitive exact match.

Is this the correct behavior or should work with partial matches?

fabiodcorreia avatar Apr 17 '24 17:04 fabiodcorreia

Hi @fabiodcorreia, #415 exists to track the requirement for partial matches. Currently Dnote uses full-text search and does not support partial matches. I do think it'll be useful to support partial matches in search. I haven't had time to investigate how to support it efficiently.

sungwoncho avatar May 11 '24 03:05 sungwoncho