Forum OpenACS Q&A: Re: Problems with Search installation (postgres + tsearch2)
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.
- 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?
Thank you all for your help.
One another thing... how do I activate bindings for providing data to the search package, as you mentioned?