[feature request] ts_headline should have an option to highlight only full matches of <-> expressions

2022-01-08 Thread Jake North
Hi, I am using Postgres' full text search since some time now and overall it's working really well for me. However one issue I have is that ts_headline highlights partial matches of FOLLOWED BY (<->) expressions, e.g. SELECT ts_headline('some words and some more words', to_tsquery('some<->word

Re: [feature request] ts_headline should have an option to highlight only full matches of <-> expressions

2022-01-08 Thread Jake North
8 Jan 2022, 20:09 by j...@tuta.io: > Hi, > > I am using Postgres' full text search since some time now and overall it's > working really well for me. However one issue I have is that ts_headline > highlights partial matches of FOLLOWED BY (<->) expressions, e.g. > > SELECT ts_headline('some word