[opencms-dev] Lucene module

lzhou at udcom.com lzhou at udcom.com
Fri May 16 21:00:02 CEST 2003


Angelo  --- I don't think you have to find a lucene module.  You can easily import the jsps from the lucene-demo.jar to opencms, thanks to the v5.0 availble jsp support.  And point your index to the opencms/export directory.  I also put a cron job using opencms schedule task to update the index regularly. To do this all you have to do is extend I_CmsCrobJob and hook it up with sth similar to the lucene-demo's HTMLParser.  It is simple and works just fine.

There are some covets though.  One is that you can only indexing those statically exported files, that means that you have to use xmltemplate instead of the new jsptemplate.  Since jsps cannot be statically exported (At least I cannot figure out how and it is also theoratically difficult).  It also need more work before you can index document other than html and text, but that is all on lucene's side.

Wow, cannot believe it is friday. 

Larry


Friday, May 16, 2003 10:08 AM
To: opencms-dev at opencms.org
cc: 
From: Angelo Brunoro <angelo.brunoro at iks.it>
Subject: [opencms-dev] Lucene module


Hi, 
I can't find the lucene module. Where can I found it?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030516/684919e4/attachment.htm>


More information about the opencms-dev mailing list