Index: openacs-4/packages/acs-core-docs/www/install-full-text-search-openfts.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/install-full-text-search-openfts.adp,v diff -u -N -r1.1.2.10 -r1.1.2.11 --- openacs-4/packages/acs-core-docs/www/install-full-text-search-openfts.adp 21 Jun 2016 07:44:36 -0000 1.1.2.10 +++ openacs-4/packages/acs-core-docs/www/install-full-text-search-openfts.adp 23 Jun 2016 08:32:45 -0000 1.1.2.11 @@ -36,7 +36,7 @@ [postgres pgsql]$ cd /usr/local/src/postgresql-7.3.4/contrib/tsearch/ [postgres tsearch]$ make sed 's,MODULE_PATHNAME,$libdir/tsearch,g' tsearch.sql.in >tsearch.sql -/usr/bin/flex -8 -Ptsearch_yy -o'parser.c' parser.l(many lines omitted) +/usr/bin/flex -8 -Ptsearch_yy -o'parser.c' parser.l(many lines omitted) rm -f libtsearch.so ln -s libtsearch.so.0.0 libtsearch.so [postgres tsearch]$ make install @@ -137,10 +137,11 @@ /usr/local/pgsql/bin/psql $OPENACS_SERVICE_NAME -f /usr/local/src/postgresql-7.3.4/contrib/pgsql_contrib_openfts/openfts.sql

Note

If you get the error ERROR: could -not access file "$libdir/tsearch": no such file or directory -It is probably because PostgreSQL's libdir configuration variable -points to a diffent directory than where tsearch is. You can find -out where PostgreSQL expects to find tsearch via

pg_config --pkglibdir
+not access file "$libdir/tsearch": no such file or +directory It is probably because PostgreSQL's libdir +configuration variable points to a diffent directory than where +tsearch is. You can find out where PostgreSQL expects to find +tsearch via

pg_config --pkglibdir

@@ -167,13 +168,13 @@
  • Wait a minute, then browse back to the home page.

  • Click on Admin on the top of the screen.

  • Click on Main Site -Administration in the "Subsite Administration" -section.

  • Click on Site Map in +Administration in the "Subsite +Administration" section.

  • Click on Site Map in the "Advanced Features" section.

  • Mount the OpenFTS Full Text Search Engine in the site map.

    1. Click the new sub -folder link on the "/" line, the first line -under Main Site:/.

    2. Type openfts and +folder link on the "/" line, the +first line under Main Site:/.

    3. Type openfts and click New.

    4. On the new openfts line, click the mount link.

    5. Click OpenFTS