Skip to content

Commit 0e3ddc8

Browse files
committed
Use more real-world examples in the text search parser documentation.
1 parent f8c9ef9 commit 0e3ddc8

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

doc/src/sgml/textsearch.sgml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/textsearch.sgml,v 1.25 2007/10/24 02:24:47 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/textsearch.sgml,v 1.26 2007/10/25 13:06:35 alvherre Exp $ -->
22

33
<chapter id="textsearch">
44
<title id="textsearch-title">Full Text Search</title>
@@ -1750,12 +1750,12 @@ LIMIT 10;
17501750
<row>
17511751
<entry><literal>asciiword</></entry>
17521752
<entry>Word, all ASCII letters</entry>
1753-
<entry><literal>foo</literal></entry>
1753+
<entry><literal>elephant</literal></entry>
17541754
</row>
17551755
<row>
17561756
<entry><literal>word</></entry>
17571757
<entry>Word, all letters</entry>
1758-
<entry><literal>f&oslash;&oslash;</literal></entry>
1758+
<entry><literal>ma&ntilde;ana</literal></entry>
17591759
</row>
17601760
<row>
17611761
<entry><literal>numword</></entry>
@@ -1765,40 +1765,40 @@ LIMIT 10;
17651765
<row>
17661766
<entry><literal>asciihword</></entry>
17671767
<entry>Hyphenated word, all ASCII</entry>
1768-
<entry><literal>foo-bar</literal></entry>
1768+
<entry><literal>up-to-date</literal></entry>
17691769
</row>
17701770
<row>
17711771
<entry><literal>hword</></entry>
17721772
<entry>Hyphenated word, all letters</entry>
1773-
<entry><literal>f&oslash;&oslash;-bar</literal></entry>
1773+
<entry><literal>pol&iacute;tico-militar</literal></entry>
17741774
</row>
17751775
<row>
17761776
<entry><literal>numhword</></entry>
17771777
<entry>Hyphenated word, letters and digits</entry>
1778-
<entry><literal>foo-beta1</literal></entry>
1778+
<entry><literal>postgresql-beta1</literal></entry>
17791779
</row>
17801780
<row>
17811781
<entry><literal>hword_asciipart</></entry>
17821782
<entry>Hyphenated word part, all ASCII</entry>
1783-
<entry><literal>foo</literal> or <literal>bar</literal> in the context
1784-
<literal>foo-bar</literal></entry>
1783+
<entry><literal>militar</literal> in the context
1784+
<literal>pol&iacute;tico-militar</literal>, or <literal>postgresql</literal> in the context <literal>postgresql-beta1</literal></entry>
17851785
</row>
17861786
<row>
17871787
<entry><literal>hword_part</></entry>
17881788
<entry>Hyphenated word part, all letters</entry>
1789-
<entry><literal>f&oslash;&oslash;</literal> in the context
1790-
<literal>f&oslash;&oslash;-bar</literal></entry>
1789+
<entry><literal>f&iacute;sico</literal> or <literal>qu&iacute;mico</literal>
1790+
in the context <literal>f&iacute;sico-qu&iacute;mico</literal></entry>
17911791
</row>
17921792
<row>
17931793
<entry><literal>hword_numpart</></entry>
17941794
<entry>Hyphenated word part, letters and digits</entry>
17951795
<entry><literal>beta1</literal> in the context
1796-
<literal>foo-beta1</literal></entry>
1796+
<literal>postgresql-beta1</literal></entry>
17971797
</row>
17981798
<row>
17991799
<entry><literal>email</></entry>
18001800
<entry>Email address</entry>
1801-
<entry><literal>foo@bar.com</literal></entry>
1801+
<entry><literal>foo@example.com</literal></entry>
18021802
</row>
18031803
<row>
18041804
<entry><literal>protocol</></entry>
@@ -1808,12 +1808,12 @@ LIMIT 10;
18081808
<row>
18091809
<entry><literal>url</></entry>
18101810
<entry>URL</entry>
1811-
<entry><literal>foo.com/stuff/index.html</literal></entry>
1811+
<entry><literal>example.com/stuff/index.html</literal></entry>
18121812
</row>
18131813
<row>
18141814
<entry><literal>host</></entry>
18151815
<entry>Host</entry>
1816-
<entry><literal>foo.com</literal></entry>
1816+
<entry><literal>example.com</literal></entry>
18171817
</row>
18181818
<row>
18191819
<entry><literal>uri</></entry>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy