通过PostgreSQL ts_vector中的出现次数查询词素

问题描述 投票:2回答:2

是否可以根据词素在ts_vector中出现的次数使用WHERE语句查询PostgreSQL?

例如,如果使用短语“在猫顶上戴高顶礼帽”创建ts_vector,可以SELECT * FROM table WHERE ts_vector @@ {the lexeme 'top' appears twice}吗?

postgresql nlp postgresql-9.4 tsvector
2个回答
1
投票

0
投票
© www.soinside.com 2019 - 2024. All rights reserved.