datagrove / marketplace

2 stars 5 forks source link

Non-English Characters cause search failures #213

Open r-southworth opened 8 months ago

r-southworth commented 8 months ago

Describe the bug It seems that the text search does not currently support non-english characters (accented i's, tildes, etc).

To Reproduce Steps to reproduce the behavior:

  1. Go to TodoServis
  2. Search for Química
  3. Get no results
    • if you search for mica you get the expected post
    • if you search for qu you also get the expected post

Expected behavior Full text search should support spanish, english and french at a minimum

Additional context Postgres has a language setting for the search but haven't found clear documentation on languages supported other than english and what format the language variable would have to be in.

Proposed Solution Investigate Postgres text search settings and change the search language based on the selected language in the language picker and/or find a way to support multiple languages at once - just because I have the site set to English doesn't mean I don't want to search possible spanish terms of posts.