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-10-30T13:09:35Z
Lists: pgsql-bugs
Attachments
- headline.diff (text/x-diff) patch
On Sun, Oct 29, 2023 at 11:53:35AM -0400, Tom Lane wrote: > 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. How is this weasel-wording, attached. :-) -- Bruce Momjian <bruce@momjian.us> https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.