Forum OpenACS Development: Re: OpenFTS: Enable Search for package

Collapse
Posted by Christian Brechbuehler on
Long ago, Malte suggested:
Wouldn't it make more sense, to have an admin page where you could enable and disable a package to be included in the search.

Good suggestion, what's the progress? It seems the administration is now kind of covered by the page /acs-service-contract/ -- the installed bindings for FtsContentProvider determine what's searchable. There can be more than one impl per package; e.g., bug-tracker gives you bt-bug and bt-patch.

What I still miss is automatic indexing. Sure, I can type

insert into search_observer_queue
(select bug_id, creation_date, 'INSERT' from bt_bugs);
to get all bugs indexed. And in theory it should only be necessary once. But it doesn't feel elegant. Maybe a after-bind callback could do it for me. Is there such a mechanism in acs-service-contract?

(Worse, I also have to manually insert a single bug_id for UPDATE after commenting on a bug, but this may be a misconfiguration on my setup.)