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 13:09:35
Message-ID: ZT-rD8Uhn-RK6pal@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, Oct 29, 2023 at 11:53:35AM -0400, Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > Attached is a proposed doc patch.
>
> As I pointed out before, the fragments *don't* necessarily satisfy
> the query, so this is still promising too much.
>
> An important edge case to keep in mind is that the given text
> itself might not satisfy the query; ts_headline has no control
> over what you hand it. But even if the text as a whole does,
> there may not be small fragments that do.

How is this weasel-wording, 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 926 bytes

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2023-10-30 13:24:53 BUG #18173: ERROR: could not identify a comparison function for type unknown
Previous Message Hayato Kuroda (Fujitsu) 2023-10-30 07:10:35 RE: Logical replication is missing block of rows when sending initial sync?