<!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.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Mithun</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>> Then i Scheduled a task as 15 14 *
* * admin Administrators
net.grcomputing.opencms.search.lucene.CronIndexManager
"createIndex=true,registry=/WEB-INF/config/lucene-registry.xml"</FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I think that your error is here, the parameter
registry it would have thus to be:</FONT></DIV>
<DIV><FONT face=Arial size=2>registry=config/lucene-registry.xml</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and the lucene-registry.xml need the registry and
system tags.</FONT></DIV>
<DIV><FONT face=Arial size=2><?xml version="1.0"
encoding="ISO-8859-1"?><BR><registry><BR>
<system></FONT></DIV>
<DIV><FONT face=Arial size=2>
<luceneSearch><FONT face="Times New Roman"
size=3> </FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman"
size=3>
........<BR></FONT><FONT face=sans-serif
size=2> </luceneSearch><FONT
face="Times New Roman" size=3> <BR></FONT></FONT>
</system><BR></registry><BR></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Bye</FONT></DIV>
<DIV><FONT face=Arial size=2>Ernesto.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><FONT face=Arial size=2></FONT><BR></DIV>
<DIV><FONT face=Arial size=2></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=MithunP@ibsplc.com href="mailto:MithunP@ibsplc.com">Mithun P R</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>Cc:</B> <A title=mark.miller@hema.ch
href="mailto:mark.miller@hema.ch">mark.miller@hema.ch</A> ; <A
title=mbutcher@grcomputing.net
href="mailto:mbutcher@grcomputing.net">mbutcher@grcomputing.net</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, May 24, 2004 5:52 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [opencms-dev] Lucene 1.5
...........</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><BR></DIV>
<DIV><BR><FONT face=sans-serif size=2>Hi</FONT> <BR><FONT face=sans-serif
size=2> I'm trying to index my files in OpemCMS.
For this, i have imported Lucene 1.5 into my system (OpenCMS).
</FONT><BR><FONT face=sans-serif size=2> What is to
be done after importing the module. I'm not sure what to do.</FONT> <BR><FONT
face=sans-serif size=2> If anyone knows what has to
be done please inform me.</FONT> <BR><FONT face=sans-serif size=2>
</FONT><BR><FONT face=sans-serif size=2>
i created a file called "lucene-registry" under
<B>$TOMCAT_HOME/webapps/opencms/WEB-INF/config/</B> </FONT><BR><FONT
face=sans-serif size=2> The content of the XML file
is given below</FONT> <BR><BR><FONT face=sans-serif
size=2>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</FONT>
<BR><FONT face=sans-serif size=2> <!--
<B>lucene-registry.xml</B> --></FONT> <BR><BR><FONT
face=sans-serif size=2> <luceneSearch></FONT>
<BR><FONT face=sans-serif size=2> </FONT><BR><FONT
face=sans-serif size=2>
<mergeFactor>100000</mergeFactor></FONT> <BR><FONT
face=sans-serif size=2>
<permCheck>true</permCheck></FONT> <BR><FONT
face=sans-serif size=2>
<!--
<indexDir>/opt/lucene/index/opencms/</indexDir> --></FONT>
<BR><FONT face=sans-serif size=2>
<indexDir>D:\lucene\TBOKCMS</indexDir></FONT> <BR><FONT
face=sans-serif size=2>
<analyzer>org.apache.lucene.analysis.standard.StandardAnalyzer</analyzer></FONT>
<BR><FONT face=sans-serif size=2>
<subsearch>true</subsearch>
</FONT> <BR><FONT face=sans-serif size=2>
<project>online</project></FONT> <BR><BR><FONT
face=sans-serif size=2>
<docFactories></FONT> <BR><FONT face=sans-serif
size=2>
<docFactory enabled="true" type="page"></FONT> <BR><FONT
face=sans-serif size=2>
<class>net.grcomputing.opencms.search.lucene.PageDocument</class></FONT>
<BR><FONT face=sans-serif size=2>
</docFactory></FONT>
<BR><BR><FONT face=sans-serif size=2>
<docFactory enabled="true"
type="plain"></FONT> <BR><FONT face=sans-serif size=2>
<fileType name="plaintext"></FONT> <BR><FONT face=sans-serif
size=2>
<extension>.txt</extension></FONT>
<BR><FONT face=sans-serif size=2>
<class>net.grcomputing.opencms.search.lucene.PlainDocument</class></FONT>
<BR><FONT face=sans-serif size=2>
</fileType></FONT>
<BR><FONT face=sans-serif size=2>
<fileType
name="taggedtext"></FONT> <BR><FONT face=sans-serif size=2>
<extension>.html</extension></FONT> <BR><FONT
face=sans-serif size=2>
<extension>.htm</extension></FONT> <BR><FONT face=sans-serif
size=2>
<extension>.xml</extension></FONT>
<BR><FONT face=sans-serif size=2>
<class>net.grcomputing.opencms.search.lucene.TaggedPlainDocument</class></FONT>
<BR><FONT face=sans-serif size=2>
</fileType></FONT>
<BR><FONT face=sans-serif size=2>
</docFactory></FONT> <BR><FONT
face=sans-serif size=2> </FONT> <BR><FONT
face=sans-serif size=2>
<docFactory enabled="true"
type="binary"></FONT> <BR><FONT face=sans-serif size=2>
<fileType name="Word"></FONT> <BR><FONT face=sans-serif
size=2>
<extension>.doc</extension></FONT> <BR><FONT face=sans-serif
size=2>
<class>net.grcomputing.opencms.search.lucene.WordDocument</class></FONT>
<BR><FONT face=sans-serif size=2>
</fileType></FONT> <BR><FONT face=sans-serif size=2>
<fileType name="PDF"></FONT> <BR><FONT face=sans-serif size=2>
<extension>.pdf</extension></FONT> <BR><FONT face=sans-serif
size=2>
<class>net.grcomputing.opencms.search.lucene.PDFDocument</class></FONT>
<BR><FONT face=sans-serif size=2>
</fileType></FONT>
<BR><FONT face=sans-serif size=2>
</docFactory>
</FONT> <BR><BR><FONT face=sans-serif size=2>
<docFactory enabled="false" type="jsp"></FONT> <BR><FONT
face=sans-serif size=2>
<class>net.grcomputing.opencms.search.lucene.JspDocument</class></FONT>
<BR><FONT face=sans-serif size=2>
</docFactory></FONT>
<BR><BR><BR><FONT face=sans-serif size=2>
<docFactory enabled="false"
type="news"></FONT> <BR><FONT face=sans-serif size=2>
<class>net.grcomputing.opencms.search.lucene.NewsDocument</class></FONT>
<BR><FONT face=sans-serif size=2>
</docFactory></FONT>
<BR><BR><BR><FONT face=sans-serif size=2>
<docFactory enabled="false"
type="forum"></FONT> <BR><FONT face=sans-serif size=2>
<class>de.wfnetz.opencms.modules.forum.ContributionDocument</class></FONT>
<BR><FONT face=sans-serif size=2>
</docFactory></FONT>
<BR><BR><BR><FONT face=sans-serif size=2>
<docFactory enabled="false"
type="XML Template"/></FONT> <BR><FONT face=sans-serif size=2>
</docFactories></FONT> <BR><BR><FONT face=sans-serif size=2>
<directories></FONT> <BR><FONT face=sans-serif size=2>
<directory location="/"></FONT> <BR><FONT face=sans-serif
size=2>
<section>Root</section></FONT> <BR><FONT
face=sans-serif size=2>
<subsearch>true</subsearch></FONT> <BR><FONT face=sans-serif
size=2>
</directory></FONT> <BR><FONT face=sans-serif size=2>
</directories></FONT> <BR><BR><FONT face=sans-serif size=2>
<contentDefinitions></FONT> <BR><FONT face=sans-serif
size=2>
<contentDefinition type="news"></FONT> <BR><FONT
face=sans-serif size=2>
<class>com.opencms.modules.homepage.news.NewsContentDefinition</class></FONT>
<BR><FONT face=sans-serif size=2>
<initClass>net.grcomputing.opencms.search.lucene.NewsInitialization</initClass></FONT>
<BR><FONT face=sans-serif size=2>
<listMethod
name="getNewsList"></FONT> <BR><FONT face=sans-serif size=2>
<param type="java.lang.Integer">1</param></FONT> <BR><FONT
face=sans-serif size=2>
<param
type="java.lang.String">-1</param></FONT> <BR><FONT face=sans-serif
size=2>
</listMethod></FONT> <BR><FONT face=sans-serif
size=2>
<page uri="/news.html?__element=entry"></FONT>
<BR><FONT face=sans-serif size=2>
<param
method="getIntId" name="newsid"/></FONT> <BR><FONT face=sans-serif
size=2>
</page></FONT> <BR><FONT face=sans-serif
size=2>
</contentDefinition></FONT> <BR><FONT face=sans-serif
size=2>
</FONT><BR><FONT face=sans-serif size=2>
<contentDefinition
type="forum"></FONT> <BR><FONT face=sans-serif size=2>
<class>de.wfnetz.opencms.modules.forum.ContributionContentDefinition</class></FONT>
<BR><FONT face=sans-serif size=2>
<listMethod
name="getSortedList"></FONT> <BR><FONT face=sans-serif size=2>
<param type="java.lang.String"/></FONT> <BR><FONT face=sans-serif
size=2>
</listMethod></FONT> <BR><FONT face=sans-serif
size=2>
<page
uri="/forum.html?forumtemplate=viewcontributionentry"></FONT> <BR><FONT
face=sans-serif size=2>
<param method="getId"
name="conid"/></FONT> <BR><FONT face=sans-serif size=2>
</page></FONT> <BR><FONT face=sans-serif size=2>
</contentDefinition></FONT> <BR><FONT face=sans-serif
size=2>
</contentDefinitions></FONT> <BR><FONT face=sans-serif
size=2> </luceneSearch></FONT> <BR><BR><FONT
face=sans-serif
size=2>------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</FONT>
<BR><BR><FONT face=sans-serif size=2>Then i Scheduled a task as 15 14 *
* * admin Administrators
net.grcomputing.opencms.search.lucene.CronIndexManager
"createIndex=true,registry=/WEB-INF/config/lucene-registry.xml"</FONT>
<BR><BR><FONT face=sans-serif size=2>If there is any error or anything
additional to be done to this. Please inform me.</FONT> <BR><BR><FONT
face=sans-serif size=2>regards</FONT> <BR><FONT face=sans-serif
size=2>Mithun<BR></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=sans-serif size=2><BR>---<BR>Outgoing mail is certified Virus
Free.<BR>Checked by AVG anti-virus system (<A
href="http://www.grisoft.com">http://www.grisoft.com</A>).<BR>Version: 6.0.690
/ Virus Database: 451 - Release Date:
22/05/2004</DIV></BLOCKQUOTE></FONT></BODY></HTML>