The Toolkit for Online Communities
17127 Community Members, 1 member online, 1912 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : How do you tell OpenFTS to index existing ETP content? : One Message

Forum OpenACS Q&A: Re: How do you tell OpenFTS to index existing ETP content?

Posted by Tilmann Singer on
It's quite messy. First you need to activate the FtsContentProvider service contracts for the generic etp content, etp_page_revision. Check /acs-service-contract/ if that contract is installed and enabled. If yes then you'll see a line like this:

FtsContentProvider etp_page_revision etp_page_revision edit-this-page Uninstall

If not you have to manually run packages/edit-this-page/sql/postgresql/edit-this-page-sc-create.sql which is not run automatically upon installation for some reason. Restart aolserver. (Always restart when dealing with service contracts to be on the safe side).

Unfortunately the search_indexer doesn't complain when there is no service contract installed for an object type but it simply discards the entries. So after you installed the bindings you'll have to reinsert the content in the queue and wait for (or manually run, e.g. from the very useful acs-developer-support shell at /ds/shell/) the search_indexer.