I’ve got a tsvector column in a table and I would like to be able to remove a lexeme from the tsvector.
I’ve started playing around with ts_stat to rebuild a new tsvector, but it seems quite complicated.
Is there a simple way to do it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Cast it to text, remove with regexp, and cast back to tsvector.