select
txt.tid,
txt.url,
txt.section,
txt.title,
txt.src,
rank( '{0.2, 1.0, 1.0, 1.0}', txt.fts_index, '\'трусы\' & \'стринги\'', 2 ) as pos
from
txt
where (section <@ '1' )
AND txt.fts_index @@ '\'трусы\' & \'стринги\''
ORDER BY pos desc limit 10 offset 0;