lbryio / hub

MIT License
16 stars 15 forks source link

Text search for `word` doesn't match `word,` and `word:` #118

Open keikari opened 1 year ago

keikari commented 1 year ago

Example:
These return mostly different claims, only difference is the : at the end of the second params. {"method":"claim_search","params":{"text":"avatar","order_by":["creation_height"],"duration":["<11400",">7200"]}}

{"method":"claim_search","params":{"text":"avatar:","order_by":["creation_height"],"duration":["<11400",">7200"]}}

If claim's title was Avatar: some text, would expect both queries to return it, but currently it's only returned by second one.


Also nice if this kinds of letters could be matched with the above: 𝔸𝕧𝕒π•₯𝕒𝕣