如何将 to_tsvector 与无字典(无词干)一起使用?

Pet*_*uss 2 postgresql

我正在使用to_tsvector,它工作正常......但是一个新的需求,为了保留准确的原始单词(原始文本),需要“绕过”作为字典。

...类似于“AATT GAA”之to_tsvector('raw', myString)myString 的东西,对于任何字典都没有意义。

Dmi*_*kov 5

SELECT to_tsvector('simple','your string');