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

Collapse
Posted by Dave Bauer on
NOTE  - READ THE WHOLE MESSAGE. This advice changes later (Tracy Adams)

Janine,

To index previously created items a query of this sort will work:

insert into search_observer_queue (select item_id, current_timestamp, 'INSERT' from cr_items where content_type='etp_page_revision')

Restrict the results as necessary.

You shouldn't need the acs-content-repository bindings.

ETP will register service contracts upon server startup when the etp types are registered if they don't already exist. I think you just need to index the previously created items.