[opencms-dev] Lucene always show untitled and null for description: Pls help
Hartmann, Waehrisch & Feykes GmbH
hartmann at waehrisch-feykes.de
Mon Jan 19 10:38:01 CET 2004
Hi,
you should consider to make your changes on the latest source from cvs (http://sourceforge.net/projects/opencmslucene/)
There is also support for indexing binary files (pdf and doc).
Regards,
Stephan
----- 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/7382b883/attachment.htm>
More information about the opencms-dev
mailing list