Closed
Description
CREATE TABLE testrum(c1 tsvector);
insert into testrum values (to_tsvector('hello rum, i''m digoal')), (to_tsvector('hello world, i''m postgresql')), (to_tsvector('how are you, i''m digoal'));
EXPLAIN select *,c1 <=> to_tsquery('postgresql') from testrum order by c1 <=> to_tsquery('postgresql');
Sort (cost=1.81..1.82 rows=3 width=36)
Sort Key: ((c1 <=> to_tsquery('postgresql'::text)))
-> Seq Scan on testrum (cost=0.00..1.79 rows=3 width=36)
Metadata
Metadata
Assignees
Labels
No labels