issue in the doc - Mailing list pgsql-docs

From Yousef Mohamed
Subject issue in the doc
Date
Msg-id CABA=AZ3GGrg+T7GrYq-iuKyJrAOwC6qZ5DStHzVLFOGrToPqew@mail.gmail.com
Whole thread Raw
Responses Re: issue in the doc
List pgsql-docs

Page:
https://www.postgresql.org/docs/current/textsearch-intro.html

The documentation says:

tsvector @@ tsquery
tsquery  @@ tsvector
text @@ tsquery
text @@ text

The first two of these we saw already. The form text @@ tsquery is equivalent to to_tsvector(x) @@ y. The form text @@ text is equivalent to to_tsvector(x) @@ plainto_tsquery(y).


Question:

In the expression:
to_tsvector(x) @@ plainto_tsquery(y)

what do x and y refer to exactly?

are they correspond to the left-hand and right-hand sides of the original expression (text @@ text) ? 

if yes , i think it's better to mention the order of the x and y like : (x @@ y ) or ( y @@ x) 

thanks 

pgsql-docs by date:

Previous
From: Maciek Sakrejda
Date:
Subject: Re: doc: Clarify ANALYZE VERBOSE output
Next
From: "David G. Johnston"
Date:
Subject: Re: issue in the doc