<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi, again!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>You do not need to modify source for module. Module
is OK.</FONT></DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=dattaritwik@yahoo.com href="mailto:dattaritwik@yahoo.com">Ritwik
Datta</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, January 19, 2004 10:29
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [opencms-dev] Lucene always
show untitled and null for description: Pls help</DIV>
<DIV><BR></DIV>
<DIV>Dear Mr. Ivan,</DIV>
<DIV>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.</DIV>
<DIV>Ritwik<BR><BR><B><I>Ivan Jelenic <ivan.jelenic@nbs.yu></I></B>
wrote:</DIV>
<BLOCKQUOTE class=replbq
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR>
<STYLE></STYLE>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Try with this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> doctitle =
cmsObject.readProperty(doc.get("url"),"Title"); //with big T</FONT></DIV>
<DIV><FONT face=Arial size=2> doctitle =
cmsObject.readProperty(doc.get("url"),"Description"); //with big
D</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> doc.get("url") is a path in
VFS to your file.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Hope it will work.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Ivan.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=dattaritwik@yahoo.com href="mailto:dattaritwik@yahoo.com">Ritwik
Datta</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, January 19, 2004 10:08
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [opencms-dev] Lucene always
show untitled and null for description: Pls help</DIV>
<DIV><BR></DIV>
<DIV>Dear All,<BR><BR>I am using OpenCMS on Oracle9i and Tomcat 4.1. I
have imported lucene<BR>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</DIV>
<DIV>Thanks in advance,</DIV>
<DIV>regards,</DIV>
<DIV>Ritwik<BR></DIV>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR>Yahoo! Hotjobs: <A
href="http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus">Enter
the "Signing Bonus" Sweepstakes</A></BLOCKQUOTE></BLOCKQUOTE>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR>Yahoo! Hotjobs: <A
href="http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus">Enter
the "Signing Bonus" Sweepstakes</A></BLOCKQUOTE></BODY></HTML>