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-10-30 16:00:38
Message-ID: ZT_TJtM0BsE5l-t7@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Only you can decide what is important to you.

Attachment Content-Type Size
headline.diff text/x-diff 933 bytes

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2023-10-30 16:23:11 Re: BUG #15172: Postgresql ts_headline with <-> operator does not highlight text properly
Previous Message hubert depesz lubaczewski 2023-10-30 15:55:55 Re: Logical replication is missing block of rows when sending initial sync?