summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane2007-10-27 16:01:09 +0000
committerTom Lane2007-10-27 16:01:09 +0000
commitd015d08b43cb123edc528012673d8fb7eeb5f5f5 (patch)
treed1c95e4d76ef7ac903d1670349707c13e1764d8f /doc/src
parent834ddc6272943ed7075cbca9646fdacb3598a93d (diff)
Rename default text search parser's "uri" token type to "url_path",
per recommendation from Alvaro. This doesn't force initdb since the numeric token type in the catalogs doesn't change; but note that the expected regression test output changed.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/textsearch.sgml16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/src/sgml/textsearch.sgml b/doc/src/sgml/textsearch.sgml
index 71e29dbfcbf..9cab9a4b46c 100644
--- a/doc/src/sgml/textsearch.sgml
+++ b/doc/src/sgml/textsearch.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/textsearch.sgml,v 1.27 2007/10/27 00:19:45 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/textsearch.sgml,v 1.28 2007/10/27 16:01:08 tgl Exp $ -->
<chapter id="textsearch">
<title id="textsearch-title">Full Text Search</title>
@@ -1815,8 +1815,8 @@ LIMIT 10;
<entry><literal>example.com</literal></entry>
</row>
<row>
- <entry><literal>uri</></entry>
- <entry>URI</entry>
+ <entry><literal>url_path</></entry>
+ <entry>URL path</entry>
<entry><literal>/stuff/index.html</literal>, in the context of a URL</entry>
</row>
<row>
@@ -1907,7 +1907,7 @@ SELECT alias, description, token FROM ts_debug('http://example.com/stuff/index.h
protocol | Protocol head | http://
url | URL | example.com/stuff/index.html
host | Host | example.com
- uri | URI | /stuff/index.html
+ url_path | URL path | /stuff/index.html
</programlisting>
</para>
@@ -2632,7 +2632,7 @@ ALTER TEXT SEARCH CONFIGURATION pg
<programlisting>
ALTER TEXT SEARCH CONFIGURATION pg
- DROP MAPPING FOR email, url, sfloat, uri, float;
+ DROP MAPPING FOR email, url, url_path, sfloat, float;
</programlisting>
</para>
@@ -2939,7 +2939,7 @@ SELECT * FROM ts_token_type('default');
15 | numhword | Hyphenated word, letters and digits
16 | asciihword | Hyphenated word, all ASCII
17 | hword | Hyphenated word, all letters
- 18 | uri | URI
+ 18 | url_path | URL path
19 | file | File or path name
20 | float | Decimal notation
21 | int | Signed integer
@@ -3308,8 +3308,8 @@ Parser: "pg_catalog.default"
numword | simple
sfloat | simple
uint | simple
- uri | simple
url | simple
+ url_path | simple
version | simple
word | russian_stem
</programlisting>
@@ -3398,8 +3398,8 @@ Parser: "pg_catalog.default"
sfloat | Scientific notation
tag | HTML tag
uint | Unsigned integer
- uri | URI
url | URL
+ url_path | URL path
version | Version number
word | Word, all letters
(23 rows)