[opencms-dev] Lucene Search Module

Arthur Visser arthur.visser at student.groept.be
Thu Apr 21 14:06:02 CEST 2005


Yes, In have the OpenCms book and followed all instructions.
I deleted the Content Definitions related to 'News' and
'Forum' (there are no Content Defs left) and also the
DocFactories for news & forum.

The entry <searchbylucene> which was already in the registry
is set to ON (was OFF).

I am using OpenCMS 5.01 with Tomcat and Windows XP SP2.

 
Arthur 
           
 

-----Oorspronkelijk bericht-----
Van: Stephan Hartmann [mailto:hartmann at metamesh.de] 
Verzonden: 21 April 2005 13:56
Aan: arthur.visser at student.groept.be; The OpenCms mailing
list
Onderwerp: Re: [opencms-dev] Lucene Search Module

did you configure the module in opencms' registry.xml?


visser arthur (02VOEMDIAHTKAND) schrieb:
> I imported the Lucene Search from Matt Butcher, and check
everything, but somehow it doens't Index. Can anyone tell me
what's wrong based on the logfile output :
> 
> [21.04.2005 13:42:10] <opencms_cronscheduler> Starting job
for com.opencms.core.CmsCronEntry{42 13 * * * admin
Administrators
net.grcomputing.opencms.search.lucene.CronIndexManager
createIndex=true}
> [21.04.2005 13:42:10] <opencms_info> 
>
=====IndexManager===========================================
==================
> [21.04.2005 13:42:10] <opencms_info> Analyzer:
org.apache.lucene.analysis.standard.StandardAnalyzer
> [21.04.2005 13:42:10] <opencms_info> Extension map exists
to handle plaintext
> [21.04.2005 13:42:10] <opencms_info> Extension map exists
to handle taggedtext
> [21.04.2005 13:42:10] <opencms_info> Page DocumentFactory
loaded
> [21.04.2005 13:42:10] <opencms_cronscheduler> Error
running job for com.opencms.core.CmsCronEntry{42 13 * * *
admin Administrators
net.grcomputing.opencms.search.lucene.CronIndexManager
createIndex=true} Error: java.lang.NullPointerException
> 	at
org.apache.lucene.store.FSDirectory.create(FSDirectory.java:
172)
> 	at
org.apache.lucene.store.FSDirectory.<init>(FSDirectory.java:
151)
> 	at
org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory
.java:132)
> 	at
org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory
.java:113)
> 	at
org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:
151)
> 	at
net.grcomputing.opencms.search.lucene.IndexManager.doIndex(U
nknown Source)
> 	at
net.grcomputing.opencms.search.lucene.CronIndexManager.launc
h(Unknown Source)
> 	at
com.opencms.core.CmsCronScheduleJob.run(CmsCronScheduleJob.j
ava:68)
> 
> 
> 
> 
> _______________________________________________
> 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