The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/17/textsearch-limitations.html
Description:
Any match distance in a <N> (FOLLOWED BY), tsquery for documents with more
than 16,383 words, can result in a false positive or a false negative
result.
For N = 1 (normal phrase search) this limitation is a lot more restrictive
than N > 16,384
See
https://www.postgresql.org/message-id/17569-47d11a72a38bf8ae%40postgresql.org