[opencms-dev] Lucene always show untitled and null for description: Pls help
Ivan Jelenic
ivan.jelenic at nbs.yu
Mon Jan 19 10:46:01 CET 2004
Hi, again!
You do not need to modify source for module. Module is OK.
All you need to do is to modify search.jsp or any other file which you are using for displaying results. So, when you want to display title and description use code I have already sent.
----- Original Message -----
From: Ritwik Datta
To: opencms-dev at opencms.org
Sent: Monday, January 19, 2004 10:29 AM
Subject: Re: [opencms-dev] Lucene always show untitled and null for description: Pls help
Dear Mr. Ivan,
Thanks for your prompt reply.I think, you mean to modify source of this module. So far I have not made any changes in source. In fact, I am new to OpenCMS. Now can you guide me little elaboratively. if you suggest me in detail in which place I have to change and what are the associated files, it will be helpful. Please guide me.
Ritwik
Ivan Jelenic <ivan.jelenic at nbs.yu> wrote:
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
------------------------------------------------------------------------------
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/d1700f66/attachment.htm>
More information about the opencms-dev
mailing list