Forum OpenACS Q&A: Re: Problems with Search installation (postgres + tsearch2)

Eckhard, you can install either from your local repository (if you have downloaded tsearch2-driver locally -- check your packages directory) or directly from the openacs repository. The installer will guide you through it (just find the two links saying installing from the local repository OR installing from the OpenACS repository. Choose the latter if you don't have the package locally.

Once you have installed the tsearch2-driver package you will need to activate the bindings between the FtsEngineDriver contract and the implementation you need (i.e. tsearch2_driver). (*) Restart your server and the search package will be activated/enabled. Yet, make sure that you (also) have some activated bindings for providing data to the search package (the data that the search package will be indexing for you, for example notes, forum messages, etc).

(*) This extra step is required as there might be several possible bindings (for example, an alternative binding is the one between the FtsEngineDriver and the openfts-driver implementation). I'm posting this just for informational purposes. For the given task (i.e. enabling search) it is best to use the tsearch2-driver binding.

Hmm - I feel somewhat confused... I also tried this:
- Click on "Control Panel" (top right)
- Click on "Install Software" (middle of page, left)
- Click on "Install from Repository" (middle left)
- Click on "Service".

This reveals a list that starts like this:

ApplicationTrack Portlet \t New Submission or Maturity Unknown \t 0.1d \t Service
Assessment Portlet \t New Submission or Maturity Unknown \t 2.2.0 \t Service
Attachments Attachment support \t New Submission or Maturity Unknown \t 0.10 \t Service
Bulk Mail Portlet \t New Submission or Maturity Unknown \t 2.2.0 \t Service
Calendar Portlet \t New Submission or Maturity Unknown \t 2.2.0 \t Service
...

I clicked through the whole site on almost every link, and also grep'ed the base directory where the installation lives - nothing there called tsearch2-driver or tsearch2_driver (except in acs-core-docs).

Maybe it is a bug in the latest release... Where can I find drivers and packages to download manually?

OK, I finally found out that the package is not available in the 5-2 repository, but can be checked out from CVS... It is in the oacs-5-2 branch.

Thank you all for your help.

One another thing... how do I activate bindings for providing data to the search package, as you mentioned?