如何使用to_tsvector没有字典(没有词干)?

时间:2016-03-03 16:55:11

标签: postgresql

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

...喜欢使用to_tsvector('raw', myString),其中myString类似于“AATT GAA”,对任何词典都没有意义。

1 个答案:

答案 0 :(得分:3)

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