2010-02-17 116 views

回答

5

將其轉換爲文本,使用正則表達式移除並轉換回tsvector。

+0

我並不認爲演員夠了。應該已經嘗試... 謝謝 – jlfenaux 2010-02-17 10:54:51

+0

注意:你必須刪除單詞以及周圍的單引號,如regexp_replace(vector :: text,$$'tobereplaced'$$,''):: tsvector – Tsadiq 2013-11-18 12:11:51

+0

我找到regexp_replace(vector :: text,$$'tobereplaced'\ S + * $$,'','g'):: tsvector工作 – Mohan 2015-06-02 08:31:22

相關問題