是否可以根据词素在ts_vector中出现的次数使用WHERE语句查询PostgreSQL?
例如,如果使用短语“在猫顶上戴高顶礼帽”创建ts_vector,可以SELECT * FROM table WHERE ts_vector @@ {the lexeme 'top' appears twice}吗?
SELECT * FROM table WHERE ts_vector @@ {the lexeme 'top' appears twice}