fluttergram icon indicating copy to clipboard operation
fluttergram copied to clipboard

User search just found results with display name

Open GustavoContreiras opened this issue 6 years ago • 2 comments

Searched for a user called "Pendulum Pala" with username "pendulumpala". Typing: Pendulum -> found pendulum -> not found pendulumpala -> not found pendulum pala -> not found pendulum Pala -> not found Pendulum Pala -> found Pala -> found pala -> not found

I'm gonna try to improve that search and then I come back here.

GustavoContreiras avatar Mar 31 '19 22:03 GustavoContreiras

Yeah the searching is not ideal. In order to do full text search we would need to implement Algolia search which when I looked into it was on a separate pricing plan than firebase, and I wanted to keep project running for free.

If there's another alternative though I'd be interested in exploring it.

mdanics avatar Apr 02 '19 21:04 mdanics

Isnt it possible to get the text input and make variations of it? Something like, if I type: gustavo contreiras Create new strings with variations: Gustavo, GUSTAVO, gustavo, Contreiras, CONTREIRAS, Gustavo Contreiras, gustavocontreiras, .... Then make one search for each generated word and return everything

GustavoContreiras avatar Apr 02 '19 22:04 GustavoContreiras