[opencms-dev] Search Engine (Lucene)

Claus Priisholm cpr at codedroids.com
Thu Aug 4 10:06:15 CEST 2005


Then you configure it (look for <luceneSearch> setup tag in the 
WEB-INF/config/registry.xml). Remove or set to false all <docFactory> 
you don't need. Note that <indexDir> must exist real filesystem and be 
writable by the tomcat process.

Secondly you add an entry in Scheduler setup in the administration:

30 02 * * * admin Administrators 
net.grcomputing.opencms.search.lucene.CronIndexManager createIndex=true

All on one line, causing the indexing to be run during the night at 2:30 
(note, do not use a Moz/Fx-broweser when editing the schedule, also some 
have reported issues if the minute setting is 00)

Finally use the example provided with the module to perform the actual 
search once the index has been built. If any problems check the 
opencms.log file.

Colin Coolidge wrote:
> Hi,
>  
> I have a site that is currently built and ready to go live. However, I 
> need to add a search engine to this html site. I'm running opencms 5 and 
> dont want to upgrade yet, so I'm thinking that the Lucene search is a 
> possiblity. So far I've uploaded the module and now see it listed in the 
> modules directory. What do I do next?
>  
> Thanks in Advance!
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 
> 
> ------------------------------------------------------------------------
> 
> 
> 
> _______________________________________________
> 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

-- 
Claus Priisholm, CodeDroids ApS
cpr (you know what) codedroids.com - http://www.codedroids.com

Javadocs and other OpenCms stuff: 
http://www.codedroids.com/community/opencms



More information about the opencms-dev mailing list