AW: [opencms-dev] Indexer job gives an error --- Please help! its urgent

Malgorzata Riegert malgorzata.riegert at evodion.de
Wed Nov 3 10:25:58 CET 2004


Hi Rajesh.
 
i think u should use this xml properties:
 
<directories>
>    <directory location="/TBOKCMS/Documents/">
> <section>TBOK CMS</section>
> <subsearch>true</subsearch>
>    </directory>
>    </directories>
This example make index of all documents that are under Documents.
 
Best regards,
 
Gosia Riegert

-----Ursprüngliche Nachricht-----
Von: rajesh.chellappa at wipro.com [mailto:rajesh.chellappa at wipro.com]
Gesendet: Mittwoch, 3. November 2004 06:37
An: opencms-dev at opencms.org
Betreff: [opencms-dev] Indexer job gives an error --- Please help! its urgent


Hi!!
 
 
    Is there a way to index specific directories...I don't want to index all the contents of "/" and if I try to give only 

  <directories>
      <directory location="/rajesh">
        <section>rajesh</section>
        <subsearch>true</subsearch>
      </directory>
  </directories>
 
I get an exception as follows:
 
=====IndexManager=============================================================
[03.11.2004 11:06:10] <opencms_info> Analyzer: org.apache.lucene.analysis.standard.StandardAnalyzer
[03.11.2004 11:06:10] <opencms_info> Extension map exists to handle plaintext
[03.11.2004 11:06:10] <opencms_info> Extension map exists to handle taggedtext
[03.11.2004 11:06:10] <opencms_info> Page DocumentFactory loaded
[03.11.2004 11:06:10] <opencms_info> IndexManager: indexing /rajesh
[03.11.2004 11:06:10] <opencms_cronscheduler> Error running job for com.opencms.core.CmsCronEntry{6 11 * * * admin Administrators net.grcomputing.opencms.search.lucene.CronIndexManager createIndex=true} Error: com.opencms.core.CmsException: 2 Not found. Detailed error: [com.opencms.file.mySql.CmsDbAccess] /default/vfs/rajesh. 
 at com.opencms.file.genericSql.CmsDbAccess.readFileHeader(CmsDbAccess.java:7764)
 at com.opencms.file.genericSql.CmsResourceBroker.readFileHeader(CmsResourceBroker.java:5353)
 at com.opencms.file.CmsObject.readFileHeader(CmsObject.java:2942)
 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)

could someone help me.
 
thanks
rajesh


Confidentiality Notice 

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin at wipro.com immediately
and destroy all copies of this message and any attachments.
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20041103/976de759/attachment.htm>


More information about the opencms-dev mailing list