[opencms-dev] Error :Lucene module integration..Pls help me

Hartmann, Waehrisch & Feykes GmbH hartmann at waehrisch-feykes.de
Wed Jan 14 13:54:02 CET 2004


Hi,

if you configure the module to index the online project (default), make sure that the folder /matt-test/ exists in the online project (i.e. it is published).

Access rights: Even if a search results in a page that has restricted access, the access is still checked by OpenCms when you request that page (i.e. click on the link of the search result).
If you even don't want to show results that have restricted access, you have to check this in the jsp that calls the search (simple_search.jsp).

Regards,
Stephan

  ----- Original Message ----- 
  From: Ritwik Datta 
  To: opencms-dev at opencms.org 
  Sent: Wednesday, January 14, 2004 1:29 PM
  Subject: [opencms-dev] Error :Lucene module integration..Pls help me


  Dear Sir,
  I have recently downloaded LUCENE SEARCH MODULE for OpenCMS 5.0.(net.grcomputing.opencms.search.lucene_1.3.zip) I could successfully import it. I have gone through your Readme.txt and did necessary modifications in registry.xml. So far I didn't change any entries given by you in search.xml and included whole content there. But I have encountered with following error:
  2004 17:20:10] <opencms_cronscheduler> Starting job for com.opencms.core.CmsCronEntry{20 17 * * * Admin Administrators net.grcomputing.opencms.search.lucene.CronIndexManager createIndex=true}
  [14.01.2004 17:20:10] <opencms_info> 
  =====IndexManager=============================================================
  [14.01.2004 17:20:10] <opencms_info> Analyzer: org.apache.lucene.analysis.standard.StandardAnalyzer
  [14.01.2004 17:20:10] <opencms_info> Page DocumentFactory loaded
  [14.01.2004 17:20:10] <opencms_info> JSP DocumentFactory loaded
  [14.01.2004 17:20:10] <opencms_info> Plain DocumentFactory loaded
  [14.01.2004 17:20:10] <opencms_info> Extension map exists to handle plaintext
  [14.01.2004 17:20:10] <opencms_info> Extension map exists to handle taggedtext
  [14.01.2004 17:20:10] <opencms_info> IndexManager: indexing /matt-test/
  [14.01.2004 17:20:10] <opencms_cronscheduler> Error running jo b for com.opencms.core.CmsCronEntry{20 17 * * * Admin Administrators net.grcomputing.opencms.search.lucene.CronIndexManager createIndex=true} Error: com.opencms.core.CmsException: 2 Not found. Detailed error: [com.opencms.file.oraclesql.CmsDbAccess] /default/vfs/matt-test/. 
   at com.opencms.file.genericSql.CmsDbAccess.readFolder(CmsDbAccess.java:8259)
   at com.opencms.file.genericSql.CmsResourceBroker.readFolder(CmsResourceBroker.java:5608)
   at com.opencms.file.genericSql.CmsResourceBroker.readFolder(CmsResourceBroker.java:5575)
   at com.opencms.file.genericSql.CmsResourceBroker.readFileHeader(CmsResourceBroker.java:5344)
   at com.opencms.file.CmsObject.readFileHeader(CmsObject.java:2937)
   at net.grcomputing.opencms.search.lucene.IndexManager.processDir(Unknown Source)
   at net.grcomputing.opencms.search.lucene.IndexManager.doIndex(Unknown Source)
   at net.grcomputing.opencms.search.lucene.CronIndexManager.launch(Unknown Source)
   at com.opencms.core.CmsCronScheduleJob.run(CmsCronScheduleJob.java:68)
  I think it is unable to read /matt-test/ folder. But I physically created it, still the error is coming. I think there must be a little catch. can send me the work around?..
  I have another question. I set access priviledges to different user. Now can this search module restrict unauthorised access even if search cryteria hits a particulat page? This is very urgent. Please send me soon.
  Thanks in advance,
  Ritwik


------------------------------------------------------------------------------
  Do you Yahoo!?
  Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040114/0d035f77/attachment.htm>


More information about the opencms-dev mailing list