kartoza / django-bims

https://testing.healthyrivers.kartoza.com
GNU Affero General Public License v3.0
12 stars 19 forks source link

search is too fuzzy #245

Closed gubuntu closed 6 years ago

gubuntu commented 6 years ago

e.g. unrelated taxa (Gerrosaurus) come up with 'Agama' search

cchristelis commented 6 years ago

I'm moving this out of ready, because I have found that resolving fuzziness can be a big fiddle and a huge time drain. Let's revisit when we've gotten a better handle on our backlog.

Vince-Egan commented 6 years ago

Could we set this to look for the search term as part of the taxon/species field rather than something that is similar?

dimasciput commented 6 years ago

@Vince-Egan @gubuntu how about first we do exact search, then if there are no results we do the similarity search? Just like google

Vince-Egan commented 6 years ago

@dimasciput that is 100%

dimasciput commented 6 years ago

@Vince-Egan what do you think about this https://github.com/kartoza/django-bims/pull/276 ?

Vries14 commented 6 years ago

Reproduced on testing, unrelated taxa no longer come up with searches