[opencms-dev] Automatically rebuilding lucene indices on publish

Thomas M�rz thomasmaerz at gmx.de
Mon Sep 6 12:18:50 CEST 2004


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





More information about the opencms-dev mailing list