如果将 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 个赞

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.

我将轻轻地推动这个话题,因为我正在寻找同一个问题的答案——这是我从谷歌上找到的第一个结果😏

现在我要回到我的搜索结果了……

编辑

我读了他的文章,并试图理解……

我强烈感觉,除非在使用 ispell、thesauru 等,并且这些基本上只适用于英语,否则它实际上并没有什么用处。肯定存在某种模式,我猜想,但是……我不知道,但绝大多数搜索结果(而且数量不多)都指向中文或俄文网站,而且我早就学会了,如果中文或俄文用户因为语言原因需要什么东西,那肯定不适用于芬兰语。嗯……反正当涉及到语言时,没有什么适用于芬兰语(或爱沙尼亚语、匈牙利语等):rofl:

关于西班牙语,同样的问题。您是否知道西班牙语论坛的用户在搜索方面是否会有任何改进?