Re: BUG #15172: Postgresql ts_headline with <-> operator does not highlight text properly
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alex Malek <magicagent@gmail.com>, pgsql-bugs@lists.postgresql.org, ngigi@at.co.ke
Date: 2023-11-13T21:36:16Z
Lists: pgsql-bugs
On Mon, Oct 30, 2023 at 12:00:38PM -0400, Bruce Momjian wrote: > On Mon, Oct 30, 2023 at 11:32:26AM -0400, Tom Lane wrote: > > Bruce Momjian <bruce@momjian.us> writes: > > > How is this weasel-wording, attached. :-) > > > > Getting there. What do you think of > > > > + Specifically, the function will use the query to select relevant > > + text fragments, and then highlight all words that appear in the query, > > + even if those word positions do not match the query's restrictions. > > Sold! :-) Attached. Patch applied back to PG 16. -- Bruce Momjian <bruce@momjian.us> https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.