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

From Tom Lane
Subject Re: BUG #15172: Postgresql ts_headline with <-> operator does not highlight text properly
Date
Msg-id 2140529.1698594815@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #15172: Postgresql ts_headline with <-> operator does not highlight text properly  (Bruce Momjian <bruce@momjian.us>)
Responses Re: BUG #15172: Postgresql ts_headline with <-> operator does not highlight text properly  (Bruce Momjian <bruce@momjian.us>)
List pgsql-bugs
Bruce Momjian <bruce@momjian.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.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #15172: Postgresql ts_headline with <-> operator does not highlight text properly
Next
From: Tom Lane
Date:
Subject: Re: BUG #18170: Unexpected error: no relation entry for relid 3