Index: openacs-4/packages/acs-core-docs/www/install-full-text-search-tsearch2.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/install-full-text-search-tsearch2.html,v diff -u -r1.11 -r1.12 --- openacs-4/packages/acs-core-docs/www/install-full-text-search-tsearch2.html 27 Oct 2014 16:39:20 -0000 1.11 +++ openacs-4/packages/acs-core-docs/www/install-full-text-search-tsearch2.html 7 Aug 2017 23:47:50 -0000 1.12 @@ -1,13 +1,13 @@ -Install Full Text Search using Tsearch2

Install Full Text Search using Tsearch2

By Dave +Install Full Text Search using Tsearch2

Install Full Text Search using Tsearch2

By Dave Bauer, Joel Aufrecht and Malte Sussdorff with help from Tsearch V2 Introduction by Andrew J. Kopciuch

OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff. -

Install Tsearch2 module

If you want full text search, and you are running PostgreSQL, install this module to support FTS. Do this step after you have installed both PostgreSQL and - AOLserver. You will need the tseach2 module form PostgreSQL +

Install Tsearch2 module

If you want full text search, and you are running PostgreSQL, install this module to support FTS. Do this step after you have installed both PostgreSQL and + AOLserver. You will need the tsearch2 module form PostgreSQL contrib. This is included with the PostgreSQL full source distribution. It is also available with the PostgreSQL contrib package provided by most distribution packages. On debian it is @@ -18,7 +18,7 @@ tsearch2 from a package, you can use the http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/regprocedure_update.sql regprocedure script to update the database after tsearch2 is - installed into it. TODO link to section decribing how to fix + installed into it. TODO link to section describing how to fix an existing tsearch2 database with this patch.

  • As of May 9, 2004 there is a source patch available for tsearch2. The patch provides changes to the pg_ts_ @@ -105,4 +105,4 @@ new application link.

  • Click on the Install link next to Weblogger.

  • Install all required packages as well (always say okay until you shall restart the server)

  • Load the service contracts datamodell and enable the service contract

    [$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cd packages/lars-blogger/sql/postgresql
     [$OPENACS_SERVICE_NAME postgresql]$ psql $OPENACS_SERVICE_NAME -f lars-blogger-sc-create.sql

    Note: Usually this script is called package_name-sc-create.sql

  • Restart the service.

    [$OPENACS_SERVICE_NAME postgresql]$ svc -t /service/$OPENACS_SERVICE_NAME
    -                [$OPENACS_SERVICE_NAME postgresl]$
  • If you are lucky, Full Text Search is enabled now, if not consult http://openacs.org/forums/message-view?message_id=154759. This link also contains some hints on how to make sure it is enabled.

    View comments on this page at openacs.org
    + [$OPENACS_SERVICE_NAME postgresl]$

    If you are lucky, Full Text Search is enabled now, if not consult http://openacs.org/forums/message-view?message_id=154759. This link also contains some hints on how to make sure it is enabled.