@@ -1519,34 +1519,6 @@ SELECT tsquery_phrase(to_tsquery('fat'), to_tsquery('cat'), 10);
1519
1519
1520
1520
</varlistentry>
1521
1521
1522
- <varlistentry>
1523
-
1524
- <term>
1525
- <indexterm>
1526
- <primary>setweight</primary>
1527
- </indexterm>
1528
-
1529
- <literal>setweight(<replaceable class="PARAMETER">query</replaceable> <type>tsquery</>, <replaceable class="PARAMETER">weight</replaceable> <type>"char"</>) returns <type>tsquery</></literal>
1530
- </term>
1531
-
1532
- <listitem>
1533
- <para>
1534
- <function>setweight</> returns a copy of the input query in which every
1535
- position has been labeled with the given <replaceable>weight</>(s), either
1536
- <literal>A</literal>, <literal>B</literal>, <literal>C</literal>,
1537
- <literal>D</literal> or their combination. These labels are retained when
1538
- queries are concatenated, allowing words from different parts of a document
1539
- to be weighted differently by ranking functions.
1540
- </para>
1541
-
1542
- <para>
1543
- Note that weight labels apply to <emphasis>positions</>, not
1544
- <emphasis>lexemes</>. If the input query has been stripped of
1545
- positions then <function>setweight</> does nothing.
1546
- </para>
1547
- </listitem>
1548
- </varlistentry>
1549
-
1550
1522
<varlistentry>
1551
1523
1552
1524
<term>
@@ -2588,7 +2560,7 @@ more sample word(s) : more indexed word(s)
2588
2560
2589
2561
<para>
2590
2562
Specific stop words recognized by the subdictionary cannot be
2591
- specified; instead use <literal><-> </> to mark the location where any
2563
+ specified; instead use <literal>? </> to mark the location where any
2592
2564
stop word can appear. For example, assuming that <literal>a</> and
2593
2565
<literal>the</> are stop words according to the subdictionary:
2594
2566