From d015d08b43cb123edc528012673d8fb7eeb5f5f5 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 27 Oct 2007 16:01:09 +0000 Subject: 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. --- doc/src/sgml/textsearch.sgml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/src') 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 @@ - + Full Text Search @@ -1815,8 +1815,8 @@ LIMIT 10; example.com - uri - URI + url_path + URL path /stuff/index.html, in the context of a URL @@ -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 @@ -2632,7 +2632,7 @@ ALTER TEXT SEARCH CONFIGURATION pg ALTER TEXT SEARCH CONFIGURATION pg - DROP MAPPING FOR email, url, sfloat, uri, float; + DROP MAPPING FOR email, url, url_path, sfloat, float; @@ -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 @@ -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) -- cgit v1.2.3