[opencms-dev] Lucene always show untitled and null for description: Pls help

Ivan Jelenic ivan.jelenic at nbs.yu
Mon Jan 19 10:19:02 CET 2004


Hi,

Try with this:

    doctitle = cmsObject.readProperty(doc.get("url"),"Title"); //with big T
    doctitle = cmsObject.readProperty(doc.get("url"),"Description"); //with big D

    doc.get("url") is a path in VFS to your file.

Hope it will work.

Best regards,
Ivan.
  ----- Original Message ----- 
  From: Ritwik Datta 
  To: opencms-dev at opencms.org 
  Sent: Monday, January 19, 2004 10:08 AM
  Subject: [opencms-dev] Lucene always show untitled and null for description: Pls help


  Dear All,

  I am using OpenCMS on Oracle9i and Tomcat 4.1. I have imported lucene
  module net.grcomputing.opencms.search.lucene_1.3.zip .but I have some problems. My files have titles and decription. But  lucene always show untitled and null for description. Can you tell me the work around. Now Ihave another question, to index my doc, pdf files, is there any additional patches released yet? This is very rgent requirement. So if you have solutions please send it accross
  Thanks in advance,
  regards,
  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/20040119/a52b5ab4/attachment.htm>


More information about the opencms-dev mailing list