Index: openacs-4/packages/acs-core-docs/www/install-full-text-search-openfts.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/install-full-text-search-openfts.html,v diff -u -r1.12 -r1.13 --- openacs-4/packages/acs-core-docs/www/install-full-text-search-openfts.html 7 Aug 2017 23:47:50 -0000 1.12 +++ openacs-4/packages/acs-core-docs/www/install-full-text-search-openfts.html 3 Sep 2024 15:37:32 -0000 1.13 @@ -98,7 +98,7 @@ /usr/local/pgsql/bin/psql $OPENACS_SERVICE_NAME -f /usr/local/src/postgresql-7.3.4/contrib/pgsql_contrib_openfts/openfts.sql
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.
+ It is probably because PostgreSQL's libdir configuration variable points to a different directory than where tsearch is.
You can find out where PostgreSQL expects to find tsearch via
pg_config --pkglibdir
If you have installed OpenFTS, you can enable it for this service. Uncomment this line from config.tcl
. (To uncomment a line in a Tcl file, remove the #
at the beginning of the line.)
#ns_param nsfts ${bindir}/nsfts.so
Click Admin
on the top of the default home page. If prompted, log in with the account and password you entered during install.
Click on the Install
@@ -131,4 +131,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.