¿Qué pasa si se configura db_default_text_search_config: "pg_catalog.simple"?

Recently, I notice that there is a

params:
  db_default_text_search_config: "pg_catalog.english"

in the configuration file (standalone.yml/data.yml). I can guees what it means through its name. The issue is that my locale is CN-zh or my main language is Chinese (That means the same, lol ) and my setting is the default (pg_catalog.english, never noticed), and my pg text search work just well. So what does that do? I can find nothing useful in this site.

So, what if i change this setting to db_default_text_search_config: "pg_catalog.chinese" or db_default_text_search_config: "pg_catalog.simple". What will happened?

3 Me gusta

I’m also interested in how to use db_default_text_search_config correctly in app.yml.

I have found some errors when searching Chinese. Some results cannot be shown correctly.

Daré un pequeño empujón a este tema, porque estoy buscando respuesta a la misma pregunta — ¡este fue mi primer resultado de Google! :smirking_face:

Y ahora vuelvo a mis resultados de búsqueda…

Editar

Lo leí e intento entender…

Tengo la fuerte sensación de que en realidad no hace nada útil a menos que se utilicen ispell, thesaurus, etc., y esos básicamente solo funcionan en inglés. Debe haber algún tipo de esquema, supongo, pero… no lo sé, pero la gran mayoría de los resultados (y no eran demasiados) llevaron a sitios chinos o rusos, y aprendí hace mucho tiempo que si los chinos o rusos necesitan algo por el idioma, ciertamente no se aplica al finlandés. Bueno… nada se aplica al finlandés (o estonio, húngaro, etc.) cuando se trata de idiomas de todos modos :rofl:

Same question about Spanish. Do you know whether users in a Spanish-speaking forum would find any improvements in search?