Re: BUG #15172: Postgresql ts_headline with <-> operator does not highlight text properly

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alex Malek <magicagent(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org, ngigi(at)at(dot)co(dot)ke
Subject: Re: BUG #15172: Postgresql ts_headline with <-> operator does not highlight text properly
Date: 2023-11-13 21:36:16
Message-ID: ZVKW0MVnO-E3_udU@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)momjian(dot)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(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Only you can decide what is important to you.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Laurenz Albe 2023-11-14 04:18:59 Re: BUG #18179: Cluster History Error
Previous Message David G. Johnston 2023-11-13 21:10:59 Re: BUG #18194: Missing install instructions