Previous   Next 

Function strip

Removes the order position from a tsvector datatype. Saves storage space if ranking is not needed.

strip(tsv TSVECTOR) RETURNS TSVECTOR

SELECT strip(to_tsvector('default', 'vacuumdb is a utility for cleaning a PostgreSQL database.'));
                      strip
--------------------------------------------------
 'util' 'clean' 'databas' 'vacuumdb' 'postgresql'
(1 row)