Closed pablof7z closed 5 months ago
query.go already have a code for search. (please look about 30 lines following)
That is not for search, it's for querying tags.
But I still don't like this PR.
However it could work if this behavior was hidden behind an initialization flag on the DB object.
Ideally NIP-50 would use https://www.sqlite.org/fts5.html though.
No, I already implemented this with same code.
this is probably wrong, naive, and vulnerable to all kinds of attacks
but it works