diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-05-02 13:28:52 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-05-02 13:28:52 -0400 |
commit | 21c2b1c611d072f1a27defa89803fdd09b132605 (patch) | |
tree | aa438f5c2c13e8a57992fc81aad2e528185f76e3 | |
parent | 7d7b129277eb545286aecf29ec22b5bb7fdf46bd (diff) | |
download | postgresql-21c2b1c611d072f1a27defa89803fdd09b132605.tar.gz postgresql-21c2b1c611d072f1a27defa89803fdd09b132605.zip |
Docs: improve index entries for new tsvector functions.
Fix typos, reword some overly general index entries.
-rw-r--r-- | doc/src/sgml/func.sgml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index eb2a0c59518..e1c3b48bf40 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -9265,7 +9265,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple <entry> <indexterm> <primary>setweight</primary> - <secondary>setweight by filter</secondary> + <secondary>setweight for specific lexeme(s)</secondary> </indexterm> <literal><function>setweight(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">weight</replaceable> <type>"char"</>, <replaceable class="PARAMETER">lexemes</replaceable> <type>"text"[]</>)</function></literal> </entry> @@ -9290,7 +9290,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple <entry> <indexterm> <primary>delete</primary> - <secondary>delete lemexeme</secondary> + <secondary>delete lexeme(s) from tsvector</secondary> </indexterm> <literal><function>delete(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">lexeme</replaceable> <type>text</>)</function></literal> </entry> @@ -9301,10 +9301,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple </row> <row> <entry> - <indexterm> - <primary>delete</primary> - <secondary>delete lemexemes array</secondary> - </indexterm> + <!-- previous indexterm entry covers this too --> <literal><function>delete(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">lexemes</replaceable> <type>text[]</>)</function></literal> </entry> <entry><type>tsvector</type></entry> @@ -9316,6 +9313,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple <entry> <indexterm> <primary>unnest</primary> + <secondary>for tsvector</secondary> </indexterm> <literal><function>unnest(<type>tsvector</>, OUT <replaceable class="PARAMETER">lexeme</> <type>text</>, OUT <replaceable class="PARAMETER">positions</> <type>smallint[]</>, OUT <replaceable class="PARAMETER">weights</> <type>text</>)</function></literal> </entry> @@ -9352,6 +9350,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple <entry> <indexterm> <primary>filter</primary> + <secondary>for tsvector</secondary> </indexterm> <literal><function>filter(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">weights</replaceable> <type>"char"[]</>)</function></literal> </entry> |