Forum OpenACS Q&A: Search not picking up messages automatically

Hi - I'm running the blogger and have installed the sc facilities and the search set-up looks good. Problem is I have to do the following to get Search to pick-up entries (thanks to Dave Bauer):

insert into search_observer_queue (select entry_id, now(), 'INSERT' from pinds_blog_entries);
 
select * from search_observer_queue;
To see what is in the search queue - and

select count(*) from txt;
To see the number of succesful insertions. 

It just won't happen on it's own. Any ideas?

Collapse
Posted by Randy Ferrer on
This problem still persists. I don't get what's going on but it just won't do it automatically. Has anyone run into this or have any ideas?
Collapse
Posted by Dave Bauer on
Randy,

You need to make sure there is a trigger on the pinds_blog_entries table.

I don't know if this is created automatically or not. I think it depends on which version you are using.

Collapse
Posted by Randy Ferrer on

Hi Dave - Not sure if one if these is the right one, checking that now. Thanks for the tip...

Triggers: pinds_blog_entries__dtrg,
          pinds_blog_entries__itrg,
          pinds_blog_entries__utrg
Collapse
Posted by Randy Ferrer on

Looks right. This is what was installed when I applied the ...sc-create.sql script. I'm using version 0.8.7.... 😟(((

Collapse
Posted by Dave Bauer on
Hmmm.

Check yoursite/acs-service-contract to make sure the FtsContentProvider service contract for pinds_blog_entry is installed correctly.

Collapse
Posted by Randy Ferrer on

Yup - looks good. I'm really at a loss here.