postgres.git / summary / log / commit / refs
commit 0e3ddc8dd58be5e455d633fea752fd2ed2477aab
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Thu Oct 25 13:06:35 2007 +0000
First released in: 8.3.0
Use more real-world examples in the text search parser documentation.
doc/src/sgml/textsearch.sgml | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/doc/src/sgml/textsearch.sgml b/doc/src/sgml/textsearch.sgml
index 7ebebeb19c7..a83582a39ca 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.25 2007/10/24 02:24:47 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/textsearch.sgml,v 1.26 2007/10/25 13:06:35 alvherre Exp $ -->
<chapter id="textsearch">
<title id="textsearch-title">Full Text Search</title>
@@ -1750,12 +1750,12 @@ LIMIT 10;
<row>
<entry><literal>asciiword</></entry>
<entry>Word, all ASCII letters</entry>
- <entry><literal>foo</literal></entry>
+ <entry><literal>elephant</literal></entry>
</row>
<row>
<entry><literal>word</></entry>
<entry>Word, all letters</entry>
- <entry><literal>føø</literal></entry>
+ <entry><literal>mañana</literal></entry>
</row>
<row>
<entry><literal>numword</></entry>
@@ -1765,40 +1765,40 @@ LIMIT 10;
<row>
<entry><literal>asciihword</></entry>
<entry>Hyphenated word, all ASCII</entry>
- <entry><literal>foo-bar</literal></entry>
+ <entry><literal>up-to-date</literal></entry>
</row>
<row>
<entry><literal>hword</></entry>
<entry>Hyphenated word, all letters</entry>
- <entry><literal>føø-bar</literal></entry>
+ <entry><literal>político-militar</literal></entry>
</row>
<row>
<entry><literal>numhword</></entry>
<entry>Hyphenated word, letters and digits</entry>
- <entry><literal>foo-beta1</literal></entry>
+ <entry><literal>postgresql-beta1</literal></entry>
</row>
<row>
<entry><literal>hword_asciipart</></entry>
<entry>Hyphenated word part, all ASCII</entry>
- <entry><literal>foo</literal> or <literal>bar</literal> in the context
- <literal>foo-bar</literal></entry>
+ <entry><literal>militar</literal> in the context
+ <literal>político-militar</literal>, or <literal>postgresql</literal> in the context <literal>postgresql-beta1</literal></entry>
</row>
<row>
<entry><literal>hword_part</></entry>
<entry>Hyphenated word part, all letters</entry>
- <entry><literal>føø</literal> in the context
- <literal>føø-bar</literal></entry>
+ <entry><literal>físico</literal> or <literal>químico</literal>
+ in the context <literal>físico-químico</literal></entry>
</row>
<row>
<entry><literal>hword_numpart</></entry>
<entry>Hyphenated word part, letters and digits</entry>
<entry><literal>beta1</literal> in the context
- <literal>foo-beta1</literal></entry>
+ <literal>postgresql-beta1</literal></entry>
</row>
<row>
<entry><literal>email</></entry>
<entry>Email address</entry>
- <entry><literal>foo@bar.com</literal></entry>
+ <entry><literal>foo@example.com</literal></entry>
</row>
<row>
<entry><literal>protocol</></entry>
@@ -1808,12 +1808,12 @@ LIMIT 10;
<row>
<entry><literal>url</></entry>
<entry>URL</entry>
- <entry><literal>foo.com/stuff/index.html</literal></entry>
+ <entry><literal>example.com/stuff/index.html</literal></entry>
</row>
<row>
<entry><literal>host</></entry>
<entry>Host</entry>
- <entry><literal>foo.com</literal></entry>
+ <entry><literal>example.com</literal></entry>
</row>
<row>
<entry><literal>uri</></entry>
[parent: f8c9ef906902]