Skip to content

Commit 2eb3ec8

Browse files
committed
Doc: tweak textsearch.sgml for SEO purposes.
Google seems to like to return textsearch.html for queries about GIN and GiST indexes, even though it's not a primary reference for either. It seems likely that that's because those keywords appear in the page title. Since "GIN and GiST Index Types" is not a very apposite title for this material anyway, rename the section in hopes of stopping that. Also provide explicit links to the GIN and GiST chapters, to help anyone who finds their way to this page regardless. Per gripe from Jan Piotrowski. Back-patch to supported branches. (Unfortunately Google is likely to continue returning the 9.1 version of this page, but improving that situation is a matter for the www team.) Discussion: https://postgr.es/m/164978902252.1276550.9330175733459697101@wrigleys.postgresql.org
1 parent af3e3a9 commit 2eb3ec8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

doc/src/sgml/textsearch.sgml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3602,7 +3602,7 @@ SELECT plainto_tsquery('supernovae stars');
36023602
</sect1>
36033603

36043604
<sect1 id="textsearch-indexes">
3605-
<title>GIN and GiST Index Types</title>
3605+
<title>Preferred Index Types for Text Search</title>
36063606

36073607
<indexterm zone="textsearch-indexes">
36083608
<primary>text search</primary>
@@ -3611,10 +3611,16 @@ SELECT plainto_tsquery('supernovae stars');
36113611

36123612
<para>
36133613
There are two kinds of indexes that can be used to speed up full text
3614-
searches.
3614+
searches:
3615+
<link linkend="gin"><acronym>GIN</acronym></link> and
3616+
<link linkend="gist"><acronym>GiST</acronym></link>.
36153617
Note that indexes are not mandatory for full text searching, but in
36163618
cases where a column is searched on a regular basis, an index is
36173619
usually desirable.
3620+
</para>
3621+
3622+
<para>
3623+
To create such an index, do one of:
36183624

36193625
<variablelist>
36203626

0 commit comments

Comments
 (0)