标签: postgresql
我正在使用to_tsvector,它运行正常......但是为了保留确切的原始单词(原始文本),需要“绕过”作为字典。
to_tsvector
...喜欢使用to_tsvector('raw', myString),其中myString类似于“AATT GAA”,对任何词典都没有意义。
to_tsvector('raw', myString)
myString
答案 0 :(得分:3)
SELECT to_tsvector('simple','your string');