From f1e3c76066f0066a8a9bb09b80cd97f11e4b2dc4 Mon Sep 17 00:00:00 2001
From: Teodor Sigaev
Date: Tue, 26 Apr 2016 20:26:26 +0300
Subject: Fix tsearch docs
Remove mention of setweight(tsquery) which wasn't included in 9.6. Also
replace old forgotten phrase operator to new one.
Dmitry Ivanov
---
doc/src/sgml/textsearch.sgml | 30 +-----------------------------
1 file changed, 1 insertion(+), 29 deletions(-)
(limited to 'doc/src')
diff --git a/doc/src/sgml/textsearch.sgml b/doc/src/sgml/textsearch.sgml
index 930c8f0a5dc..78eaf748676 100644
--- a/doc/src/sgml/textsearch.sgml
+++ b/doc/src/sgml/textsearch.sgml
@@ -1519,34 +1519,6 @@ SELECT tsquery_phrase(to_tsquery('fat'), to_tsquery('cat'), 10);
-
-
-
-
- setweight
-
-
- setweight(query tsquery>, weight "char">) returns tsquery>
-
-
-
-
- setweight> returns a copy of the input query in which every
- position has been labeled with the given weight>(s), either
- A, B, C,
- D or their combination. These labels are retained when
- queries are concatenated, allowing words from different parts of a document
- to be weighted differently by ranking functions.
-
-
-
- Note that weight labels apply to positions>, not
- lexemes>. If the input query has been stripped of
- positions then setweight> does nothing.
-
-
-
-
@@ -2588,7 +2560,7 @@ more sample word(s) : more indexed word(s)
Specific stop words recognized by the subdictionary cannot be
- specified; instead use <->> to mark the location where any
+ specified; instead use ?> to mark the location where any
stop word can appear. For example, assuming that a> and
the> are stop words according to the subdictionary:
--
cgit v1.2.3