Hi all,

I found a wrong explanation about tsquery_phrase. I was slightly confused when 
I tried to use it.

The current document explains tsquery_phrase as the followings[1].

- Function: tsquery_phrase(query1 tsquery, query2 tsquery, distance integer)
- Return Type: tsquery
- Description: make query that searches for query1 followed by query2 at 
maximum distance distance

However, 'exact distance' seems to be right instead of 'maximum distance'.

This was probably overlooked in the following commit.


[1] -- https://www.postgresql.org/docs/9.6/static/functions-textsearch.html

Eiji Seki

Attachment: fix_document_about_tsquery_phrase.patch
Description: fix_document_about_tsquery_phrase.patch

Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:

Reply via email to