Index: openacs-4/packages/acs-core-docs/www/install-full-text-search.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/Attic/install-full-text-search.html,v diff -u -r1.23 -r1.24 --- openacs-4/packages/acs-core-docs/www/install-full-text-search.html 21 Apr 2004 09:49:42 -0000 1.23 +++ openacs-4/packages/acs-core-docs/www/install-full-text-search.html 5 May 2004 12:36:04 -0000 1.24 @@ -1,7 +1,7 @@ Install Full Text Search

Install Full Text Search

By Joel Aufrecht and Malte Sussdorff

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

Install OpenFTS 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 +

Install OpenFTS 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 openfts tarball in /tmp.

  1. Install Tsearch. This is a PostgreSQL module that OpenFTS requires.

    [root root]# su - postgres
    @@ -76,7 +76,7 @@
     make
     su postgres
     make install
    -exit

Install OpenFTS prerequisites in PostgreSQL instance

If you are installing Full Text Search, add required +exit

Install OpenFTS prerequisites in PostgreSQL instance

If you are installing Full Text Search, add required packages to the new database. (In order for full text search to work, you must also install the PostgreSQL OpenFTS module and prerequisites.)

[service0 service0]$ /usr/local/pgsql/bin/psql service0 -f /usr/local/src/postgresql-7.3.4/contrib/tsearch/tsearch.sql
@@ -120,4 +120,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

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

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

  • Restart the service.

    [service0 postgresql]$ svc -t /service/service0
    -                [service0 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
    + [service0 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