Hi, everyone: First I can successful run this query: select name, ts_rank_cd(vectors, query) as rank from element, to_tsquery('item') query where query @@ vectors order by rank desc; But actually I want to run this one: select name, ts_rank_cd(vectors, query) as rank from element, 'item'::tsquery query where query @@ vectors order by rank desc; Looks like that FTS does not support directly use "::tsquery " in such query. Do I misunderstand something? Thanks! Xu |