Re: BUG #15172: Postgresql ts_headline with <-> operator does not highlight text properly
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: Alex Malek <magicagent@gmail.com>, pgsql-bugs@lists.postgresql.org,
ngigi@at.co.ke
Date: 2023-10-29T15:53:35Z
Lists: 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