Any match distance for large documents can result in search errors

Started by PG Bug reporting form8 months ago1 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

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
/messages/by-id/17569-47d11a72a38bf8ae@postgresql.org