Synonyms in doc search - Mailing list pgsql-www

From Daniel Gustafsson
Subject Synonyms in doc search
Date
Msg-id 961DAABC-1C23-4DE2-9D5F-E20D7CD9A4E6@yesql.se
Whole thread Raw
Responses Re: Synonyms in doc search  (Magnus Hagander <magnus@hagander.net>)
List pgsql-www
Is is possible to add synonyms (in some way, or similar functionality) to the
docs search in order to promote content?  I just searched for TLS in the v10
docs and the number one hit, out of meagre 7 in total, is the 9.1.17 release
notes.  If I instead search for SSL there are 130 hits with the first one being
the relevant page.  Personally I know the reason for this, but a newcomer is
unlikely to.

Where we use terminology which is different from what is commonly used, it
wouldn’t hurt to point users in the right direction.  Is it enough to add is as
another indexterm as in the below, or would it require more invasive changes?

--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -2162,6 +2162,7 @@ pg_dumpall -p 5432 | psql -d postgres -p 5433

   <indexterm zone="ssl-tcp">
    <primary>SSL</primary>
+   <secondary>TLS</secondary>
   </indexterm>


cheers ./daniel

pgsql-www by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: collapsing of 'current' and 'latest released' version-specificlinks in docs
Next
From: "Jonathan S. Katz"
Date:
Subject: Re: Adding PGInstaller to the Downloads section