Index: openacs-4/packages/tsearch2-driver/www/doc/index.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/tsearch2-driver/www/doc/index.html,v diff -u -r1.2 -r1.3 --- openacs-4/packages/tsearch2-driver/www/doc/index.html 6 Jun 2004 17:29:22 -0000 1.2 +++ openacs-4/packages/tsearch2-driver/www/doc/index.html 29 Dec 2004 18:39:23 -0000 1.3 @@ -13,7 +13,21 @@ cotent. I had to manually load lars-blogger-sc-create.sql to get Weblogger to register the service contract implementation to index the content. After that it worked fine. - + +

Index old content

+If your old content has not been indexed before (e.g. because you had no +search package mounted before), all is fine. Otherwise you have to inform the +search package to reindex.
+insert into search_observer_queue ( select my_id, now(),'INSERT' from +my_table);
+For forums and ETP this looks like: +
+
+insert into search_observer_queue (select message_id, now(), 'INSERT' from forums_messages);
+insert into search_observer_queue (select live_revision, now(), 'INSERT' from ( 
+  select live_revision from cr_items where content_type = 'etp_page_revision') etp);
+
+

Features

This version includes only the most basic features to prove that tsearch2 can be used for indexing. There are many configuration