Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ccd45f3

Browse files
author
Liudmila Mantrova
committed
DOC: improved ts_parser description
1 parent a087521 commit ccd45f3

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

doc/src/sgml/pg_tsparser.sgml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11
<sect1 id="pg-tsparser">
22
<title>pg_tsparser</title>
33
<para>
4-
The <filename>pg_tsparser</filename> is a <productname>&productname;</productname> extension that
5-
modifies the default text search parser. In addition to the default
6-
search results, this extension also returns a single word in the
7-
following cases:
4+
<filename>pg_tsparser</filename> is a <productname>&productname;</productname> extension for text search.
5+
This extension modifies the default text parsing strategy for words that include:
86
</para>
97
<itemizedlist spacing="compact">
108
<listitem>
119
<para>
12-
words that include underscores
10+
underscores
1311
</para>
1412
</listitem>
1513
<listitem>
1614
<para>
17-
words that include numbers and letters separated by the hyphen
18-
character
15+
numbers and letters separated by the hyphen character
1916
</para>
2017
</listitem>
2118
</itemizedlist>
19+
<para>In addition to separate word parts returned by default, <filename>pg_tsparser</filename> also returns the whole word.</para>
2220
<sect2 id="pg-tsparser-install">
2321
<title>Installation and Setup</title>
2422
<para>

doc/src/sgml/release-pro-9.6.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
<itemizedlist>
1717
<listitem>
1818
<para>Added <link linkend="pg-tsparser"><application>pg_tsparser</application></link> extension for text search.</para>
19-
<para>In addition to the default search results, this extension also returns a single word in the following cases:</para>
19+
<para>In addition to separate word parts returned by default, <application>pg_tsparser</application> also returns the whole word if this word includes:</para>
2020
<itemizedlist>
2121
<listitem>
22-
<para>words that include underscores</para>
22+
<para>underscores</para>
2323
</listitem>
2424
<listitem>
25-
<para>words that include numbers and letters separated by the hyphen character</para>
25+
<para>numbers and letters separated by the hyphen character</para>
2626
</listitem>
2727
</itemizedlist>
2828
</listitem>

0 commit comments

Comments
 (0)