Skip to content

Commit 557a4b6

Browse files
committed
Update dict-int.sgml
——row31至40,增英和翻为: <!--==========================orignal english content========================== <para> This module is considered <quote>trusted</quote>, that is, it can be installed by non-superusers who have <literal>CREATE</literal> privilege on the current database. </para> ____________________________________________________________________________--> <para> 这个模块被视为<quote>trusted</quote>,也就是说,它可以由在当前数据库上具有<literal>CREATE</literal>特权的非超级用户安装。 </para> ——row48至55,增英和翻为: <!--==========================orignal english content========================== <para> The dictionary accepts three options: </para> ____________________________________________________________________________--> <para> 该词典接受三个选项: </para> ——row85至99,增英和翻为: <listitem> <!--==========================orignal english content========================== <para> The <literal>absval</literal> parameter specifies whether leading <quote><literal>+</literal></quote> or <quote><literal>-</literal></quote> signs should be removed from integer words. The default is <literal>false</literal>. When <literal>true</literal>, the sign is removed before <literal>maxlen</literal> is applied. </para> ____________________________________________________________________________--> <para> <literal>absval</literal> 参数规定<quote><literal>+</literal></quote> 或 <quote><literal>-</literal></quote>符号是否将被从整数前删除。 缺省为 <literal>false</literal>. 当为 <literal>true</literal>时,在<literal>maxlen</literal>被应用之前,符号被删除。 </para> </listitem>
1 parent 3f597c7 commit 557a4b6

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

postgresql/doc/src/sgml/dict-int.sgml

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ ____________________________________________________________________________-->
2828
<filename>dict_int</filename>是一个附加全文搜索词典模板的例子。这个例子词典的动机是控制整数(有符号和无符号)的索引,允许在阻止唯一词数量的过度增长(会严重影响搜索性能)时也能索引这些数字。
2929
</para>
3030

31+
<!--==========================orignal english content==========================
32+
<para>
33+
This module is considered <quote>trusted</quote>, that is, it can be
34+
installed by non-superusers who have <literal>CREATE</literal> privilege
35+
on the current database.
36+
</para>
37+
____________________________________________________________________________-->
38+
<para>
39+
这个模块被视为<quote>trusted</quote>,也就是说,它可以由在当前数据库上具有<literal>CREATE</literal>特权的非超级用户安装。
40+
</para>
41+
3142
<sect2>
3243
<!--==========================orignal english content==========================
3344
<title>Configuration</title>
@@ -36,11 +47,11 @@ ____________________________________________________________________________-->
3647

3748
<!--==========================orignal english content==========================
3849
<para>
39-
The dictionary accepts two options:
50+
The dictionary accepts three options:
4051
</para>
4152
____________________________________________________________________________-->
4253
<para>
43-
该词典接受两个选项
54+
该词典接受三个选项
4455
</para>
4556

4657
<itemizedlist>
@@ -71,6 +82,21 @@ ____________________________________________________________________________-->
7182
<literal>rejectlong</literal>参数指定一个超长整数是否应该被截断或忽略。如果<literal>rejectlong</literal>为<literal>false</literal>(默认),该词典返回该整数的第一个数字。如果<literal>rejectlong</literal>为<literal>true</literal>,该词典将一个超长整数作为一个停用词对待,因此它将不会被索引。注意这也意味着这样一个整数不能被搜索。
7283
</para>
7384
</listitem>
85+
<listitem>
86+
<!--==========================orignal english content==========================
87+
<para>
88+
The <literal>absval</literal> parameter specifies whether leading
89+
<quote><literal>+</literal></quote> or <quote><literal>-</literal></quote>
90+
signs should be removed from integer words. The default
91+
is <literal>false</literal>. When <literal>true</literal>, the sign is
92+
removed before <literal>maxlen</literal> is applied.
93+
</para>
94+
____________________________________________________________________________-->
95+
<para>
96+
<literal>absval</literal> 参数规定<quote><literal>+</literal></quote> 或 <quote><literal>-</literal></quote>符号是否将被从整数前删除。
97+
缺省为 <literal>false</literal>. 当为 <literal>true</literal>时,在<literal>maxlen</literal>被应用之前,符号被删除。
98+
</para>
99+
</listitem>
74100
</itemizedlist>
75101
</sect2>
76102

0 commit comments

Comments
 (0)