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.
regards, tom lane