You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vowel substitutions like that seem like common mistakes we should be forgiving, so IMO, all those should work to find https://www.inaturalist.org/taxa/35131-Salomonelaps. At the very least I think the taxon autocomplete should handle Salomoneleps the way that the universal search endpoint does. Might be a more appropriate issue for the Rails repo where we define the indices, but I figured my first step would be figuring out what I did differently for the universal search endpoint in the API.
The text was updated successfully, but these errors were encountered:
The change I made in the branch at 442d31d results in all 4 of these searches working. It reduces the prefix_length used by the universal search to 1, meaning only the first character of the searched term must match the real value, and enables fuzzy searching for taxon autocomplete in the same way that universal search is doing. We should test this to make sure this is a net positive change - that more often if there are taxa included they are useful due to misspellings, rather than extraneous results users may not want to see.
Can to get think of a good way to measure whether it's a net positive change aside from a gut check? One could imagine search success defined as the number of searches a user makes in a 15 min window that are all below a threshold levenstein distance, i.e. how much do they have correct typos before finding what they want.
Currently, if you're searching for https://www.inaturalist.org/taxa/35131-Salomonelaps, some typos fail to return results, while others seem to get results
Vowel substitutions like that seem like common mistakes we should be forgiving, so IMO, all those should work to find https://www.inaturalist.org/taxa/35131-Salomonelaps. At the very least I think the taxon autocomplete should handle
Salomoneleps
the way that the universal search endpoint does. Might be a more appropriate issue for the Rails repo where we define the indices, but I figured my first step would be figuring out what I did differently for the universal search endpoint in the API.The text was updated successfully, but these errors were encountered: