<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR><o:SmartTagType
name="place"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
name="address"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
name="country-region"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
name="City"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
name="Street"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
font-family: Tahoma;
}
@font-face {
font-family: Verdana;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Tahoma; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=904083312-13022006><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=904083312-13022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=904083312-13022006><FONT face=Arial
size=2>You can have a look at the following files:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=904083312-13022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=904083312-13022006>
<DIV><SPAN class=057301306-13022006><FONT face=Arial><FONT size=2><SPAN
class=904083312-13022006>For c</SPAN>ustom Indexing requires change in
</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=057301306-13022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=057301306-13022006>org.opencms.search.documents.A_CmsVfsDocument.java</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=057301306-13022006><SPAN
class=057301306-13022006>org.opencms.search.documents.</SPAN>I_CmsDocumentFactory.java</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=057301306-13022006>org.opencms.search.extractors.I_CmsExtractionResult.java</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=057301306-13022006></SPAN></FONT> </DIV>
<DIV><SPAN class=057301306-13022006><FONT face=Arial><FONT size=2><SPAN
class=904083312-13022006>For c</SPAN>ustom Search requires change in
</FONT></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=057301306-13022006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=057301306-13022006>org.opencms.search.CmsSearch.java</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=057301306-13022006>
<DIV><FONT face=Arial size=2><SPAN
class=057301306-13022006>org.opencms.search.CmsSearchIndex.java</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=057301306-13022006><SPAN
class=057301306-13022006>org.opencms.search.</SPAN>CmsSearchResult.java</SPAN></FONT></DIV></SPAN></FONT></DIV></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=904083312-13022006></SPAN><FONT face=Arial><FONT size=2>W<SPAN
class=904083312-13022006>e have customized OpenCMS Search to index various
fields including date fields to search between date
ranges.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=904083312-13022006></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=904083312-13022006>BR,</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=904083312-13022006>Shishank</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#000000 size=2><SPAN
class=904083312-13022006><A
href="http://goshishank.blogspot.com">http://goshishank.blogspot.com</A></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=904083312-13022006></SPAN></FONT></FONT> </DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Dick
Verghese<BR><B>Sent:</B> Monday, February 13, 2006 11:24 AM<BR><B>To:</B>
opencms-dev@opencms.org<BR><B>Subject:</B> [opencms-dev] search index
programmatically<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: Tahoma">Hi,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: Tahoma">Can any one help me in
finding a way to update the search index programmatically
,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: Tahoma">when ever I need to
put a single article into the searchindex,
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: Tahoma">don’t want to reindex
but update the index with a program.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: Tahoma">Thanks<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: Tahoma">DICK<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana color=silver size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: silver; FONT-FAMILY: Verdana">***********************************************************<BR>Advanced
Digital Technology<BR>P.O <st1:address
style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x"
tabIndex=0 w:st="on"><st1:address w:st="on"><st1:Street w:st="on"><st1:Street
w:st="on">Box</st1:Street> 32725</st1:Street></st1:address><FONT color=gray
size=1><SPAN style="FONT-SIZE: 8pt; COLOR: gray"><BR></SPAN></FONT><st1:place
w:st="on"><st1:City w:st="on">Dubai</st1:City></st1:place><FONT color=gray
size=1><SPAN style="FONT-SIZE: 8pt; COLOR: gray"><BR></SPAN></FONT><st1:place
w:st="on"><st1:country-region w:st="on">United Arab
Emirates</st1:country-region></st1:place></st1:address>
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT face=Verdana
color=silver size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: silver; FONT-FAMILY: Verdana">Telephone:-
+971-4-2868101 Fax:-
+971-4-2869101 </SPAN></FONT><FONT
face=Verdana color=gray size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Verdana"><A
href="http://www.adtworld.com"><FONT color=silver size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: silver">www.adtworld.com</SPAN></FONT></A><BR><BR></SPAN></FONT><FONT
face=Verdana color=silver size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: silver; FONT-FAMILY: Verdana">This message,
together with any attachments, is confidential, is intended only for the use of
the addressee(s) and may contain information, which is covered by legal,
professional or other privilege. If you are not the intended recipient, please
destroy this E-mail and inform
us.<BR><BR>***********************************************************</SPAN></FONT><FONT
face=Verdana color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"> </SPAN></FONT><FONT
color=silver size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: silver"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" color=silver size=3><SPAN
style="FONT-SIZE: 12pt; COLOR: silver"><o:p> </o:p></SPAN></FONT></P></DIV></BODY></HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000><br>
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 proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. <br>
<br>
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.<br>
<br>
www.wipro.com<br>
</font></td></tr></table>