Skip to content

Commit 21c2b1c

Browse files
committed
Docs: improve index entries for new tsvector functions.
Fix typos, reword some overly general index entries.
1 parent 7d7b129 commit 21c2b1c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

doc/src/sgml/func.sgml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9265,7 +9265,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
92659265
<entry>
92669266
<indexterm>
92679267
<primary>setweight</primary>
9268-
<secondary>setweight by filter</secondary>
9268+
<secondary>setweight for specific lexeme(s)</secondary>
92699269
</indexterm>
92709270
<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>
92719271
</entry>
@@ -9290,7 +9290,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
92909290
<entry>
92919291
<indexterm>
92929292
<primary>delete</primary>
9293-
<secondary>delete lemexeme</secondary>
9293+
<secondary>delete lexeme(s) from tsvector</secondary>
92949294
</indexterm>
92959295
<literal><function>delete(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">lexeme</replaceable> <type>text</>)</function></literal>
92969296
</entry>
@@ -9301,10 +9301,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
93019301
</row>
93029302
<row>
93039303
<entry>
9304-
<indexterm>
9305-
<primary>delete</primary>
9306-
<secondary>delete lemexemes array</secondary>
9307-
</indexterm>
9304+
<!-- previous indexterm entry covers this too -->
93089305
<literal><function>delete(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">lexemes</replaceable> <type>text[]</>)</function></literal>
93099306
</entry>
93109307
<entry><type>tsvector</type></entry>
@@ -9316,6 +9313,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
93169313
<entry>
93179314
<indexterm>
93189315
<primary>unnest</primary>
9316+
<secondary>for tsvector</secondary>
93199317
</indexterm>
93209318
<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>
93219319
</entry>
@@ -9352,6 +9350,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
93529350
<entry>
93539351
<indexterm>
93549352
<primary>filter</primary>
9353+
<secondary>for tsvector</secondary>
93559354
</indexterm>
93569355
<literal><function>filter(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">weights</replaceable> <type>"char"[]</>)</function></literal>
93579356
</entry>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy