[opencms-dev] Automatically rebuilding lucene indices on publish

CLB opencms at colaborativa.net
Tue Sep 7 21:48:37 CEST 2004


FYI, we did some advances on that direction, but could not really figure
out how to distinguish by file. It seems the event only notifies about a
folder being published, not on individual files. Any idea?

--mariano

-----Mensaje original-----
De: Thomas Mdrz [mailto:thomasmaerz at gmx.de] 
Enviado el: Lunes, 06 de Septiembre de 2004 07:19 a.m.
Para: The OpenCms mailing list
Asunto: Re: [opencms-dev] Automatically rebuilding lucene indices on
publish

Tristan Tarrant <ttarrant at etnoteam.it> writes:

> I have a custom type (an extended XmlPage) for which I have added all
> the various classes to enable indexing and searching. In order to get
> the content indexed I have to launch rebuild from the administration.
Is
> it possible for my content to get reindexed on publishing ?

Take a look at org.opencms.main.I_CmsEventListener.  I think you have to
register your Class that should rebuild the index in the config file
"opencms-vfs.xml" as loader, but I am not certain.

HTH




_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit
http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list