API - Taxa : Search and fetch - apostrophe in taxa name

I’m running queries through the taxa search api. Noticed apostrophes make a big difference.
[https://api.inaturalist.org/v1/taxa?q=bidwells%20knotweed (returns 0 records - ouch)
https://api.inaturalist.org/v1/taxa?q=bidwell’s%20knotweed (returns 1 record - as expected)

However, the site search doesn’t care about the apostrophe:
https://api.inaturalist.org/v1/search?q=bidwells%20knotweed (returns 1 record)
https://api.inaturalist.org/v1/search?q=bidwell’s%20knotweed returns 1 record)

I’d love for the taxa search to be more accepting of apostrophes which are frequently found in common names.

I think this is the same:

Which seems strange to me because this works:

But maybe that’s something else.

There also might be some conflict with this issue: https://forum.inaturalist.org/t/cant-search-certain-characters-x-in-hybrids-apostrophe-in-hawaiian-names/9161

1 Like