<br><font size=2 face="sans-serif">Hi</font>
<br><font size=2 face="sans-serif"> I'm trying to index my files in OpemCMS. For this, i have imported Lucene 1.5 into my system (OpenCMS). </font>
<br><font size=2 face="sans-serif"> What is to be done after importing the module. I'm not sure what to do.</font>
<br><font size=2 face="sans-serif"> If anyone knows what has to be done please inform me.</font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif"> i created a file called "lucene-registry" under <b>$TOMCAT_HOME/webapps/opencms/WEB-INF/config/</b> </font>
<br><font size=2 face="sans-serif"> The content of the XML file is given below</font>
<br>
<br><font size=2 face="sans-serif">-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</font>
<br><font size=2 face="sans-serif"> <!-- <b>lucene-registry.xml</b> --></font>
<br>
<br><font size=2 face="sans-serif"> <luceneSearch></font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif"> <mergeFactor>100000</mergeFactor></font>
<br><font size=2 face="sans-serif"> <permCheck>true</permCheck></font>
<br><font size=2 face="sans-serif"> <!-- <indexDir>/opt/lucene/index/opencms/</indexDir> --></font>
<br><font size=2 face="sans-serif"> <indexDir>D:\lucene\TBOKCMS</indexDir></font>
<br><font size=2 face="sans-serif"> <analyzer>org.apache.lucene.analysis.standard.StandardAnalyzer</analyzer></font>
<br><font size=2 face="sans-serif"> <subsearch>true</subsearch> </font>
<br><font size=2 face="sans-serif"> <project>online</project></font>
<br>
<br><font size=2 face="sans-serif"> <docFactories></font>
<br><font size=2 face="sans-serif"> <docFactory enabled="true" type="page"></font>
<br><font size=2 face="sans-serif"> <class>net.grcomputing.opencms.search.lucene.PageDocument</class></font>
<br><font size=2 face="sans-serif"> </docFactory></font>
<br>
<br><font size=2 face="sans-serif"> <docFactory enabled="true" type="plain"></font>
<br><font size=2 face="sans-serif"> <fileType name="plaintext"></font>
<br><font size=2 face="sans-serif"> <extension>.txt</extension></font>
<br><font size=2 face="sans-serif"> <class>net.grcomputing.opencms.search.lucene.PlainDocument</class></font>
<br><font size=2 face="sans-serif"> </fileType></font>
<br><font size=2 face="sans-serif"> <fileType name="taggedtext"></font>
<br><font size=2 face="sans-serif"> <extension>.html</extension></font>
<br><font size=2 face="sans-serif"> <extension>.htm</extension></font>
<br><font size=2 face="sans-serif"> <extension>.xml</extension></font>
<br><font size=2 face="sans-serif"> <class>net.grcomputing.opencms.search.lucene.TaggedPlainDocument</class></font>
<br><font size=2 face="sans-serif"> </fileType></font>
<br><font size=2 face="sans-serif"> </docFactory></font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif"> <docFactory enabled="true" type="binary"></font>
<br><font size=2 face="sans-serif"> <fileType name="Word"></font>
<br><font size=2 face="sans-serif"> <extension>.doc</extension></font>
<br><font size=2 face="sans-serif"> <class>net.grcomputing.opencms.search.lucene.WordDocument</class></font>
<br><font size=2 face="sans-serif"> </fileType></font>
<br><font size=2 face="sans-serif"> <fileType name="PDF"></font>
<br><font size=2 face="sans-serif"> <extension>.pdf</extension></font>
<br><font size=2 face="sans-serif"> <class>net.grcomputing.opencms.search.lucene.PDFDocument</class></font>
<br><font size=2 face="sans-serif"> </fileType></font>
<br><font size=2 face="sans-serif"> </docFactory> </font>
<br>
<br><font size=2 face="sans-serif"> <docFactory enabled="false" type="jsp"></font>
<br><font size=2 face="sans-serif"> <class>net.grcomputing.opencms.search.lucene.JspDocument</class></font>
<br><font size=2 face="sans-serif"> </docFactory></font>
<br>
<br>
<br><font size=2 face="sans-serif"> <docFactory enabled="false" type="news"></font>
<br><font size=2 face="sans-serif"> <class>net.grcomputing.opencms.search.lucene.NewsDocument</class></font>
<br><font size=2 face="sans-serif"> </docFactory></font>
<br>
<br>
<br><font size=2 face="sans-serif"> <docFactory enabled="false" type="forum"></font>
<br><font size=2 face="sans-serif"> <class>de.wfnetz.opencms.modules.forum.ContributionDocument</class></font>
<br><font size=2 face="sans-serif"> </docFactory></font>
<br>
<br>
<br><font size=2 face="sans-serif"> <docFactory enabled="false" type="XML Template"/></font>
<br><font size=2 face="sans-serif"> </docFactories></font>
<br>
<br><font size=2 face="sans-serif"> <directories></font>
<br><font size=2 face="sans-serif"> <directory location="/"></font>
<br><font size=2 face="sans-serif"> <section>Root</section></font>
<br><font size=2 face="sans-serif"> <subsearch>true</subsearch></font>
<br><font size=2 face="sans-serif"> </directory></font>
<br><font size=2 face="sans-serif"> </directories></font>
<br>
<br><font size=2 face="sans-serif"> <contentDefinitions></font>
<br><font size=2 face="sans-serif"> <contentDefinition type="news"></font>
<br><font size=2 face="sans-serif"> <class>com.opencms.modules.homepage.news.NewsContentDefinition</class></font>
<br><font size=2 face="sans-serif"> <initClass>net.grcomputing.opencms.search.lucene.NewsInitialization</initClass></font>
<br><font size=2 face="sans-serif"> <listMethod name="getNewsList"></font>
<br><font size=2 face="sans-serif"> <param type="java.lang.Integer">1</param></font>
<br><font size=2 face="sans-serif"> <param type="java.lang.String">-1</param></font>
<br><font size=2 face="sans-serif"> </listMethod></font>
<br><font size=2 face="sans-serif"> <page uri="/news.html?__element=entry"></font>
<br><font size=2 face="sans-serif"> <param method="getIntId" name="newsid"/></font>
<br><font size=2 face="sans-serif"> </page></font>
<br><font size=2 face="sans-serif"> </contentDefinition></font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif"> <contentDefinition type="forum"></font>
<br><font size=2 face="sans-serif"> <class>de.wfnetz.opencms.modules.forum.ContributionContentDefinition</class></font>
<br><font size=2 face="sans-serif"> <listMethod name="getSortedList"></font>
<br><font size=2 face="sans-serif"> <param type="java.lang.String"/></font>
<br><font size=2 face="sans-serif"> </listMethod></font>
<br><font size=2 face="sans-serif"> <page uri="/forum.html?forumtemplate=viewcontributionentry"></font>
<br><font size=2 face="sans-serif"> <param method="getId" name="conid"/></font>
<br><font size=2 face="sans-serif"> </page></font>
<br><font size=2 face="sans-serif"> </contentDefinition></font>
<br><font size=2 face="sans-serif"> </contentDefinitions></font>
<br><font size=2 face="sans-serif"> </luceneSearch></font>
<br>
<br><font size=2 face="sans-serif">------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</font>
<br>
<br><font size=2 face="sans-serif">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 size=2 face="sans-serif">If there is any error or anything additional to be done to this. Please inform me.</font>
<br>
<br><font size=2 face="sans-serif">regards</font>
<br><font size=2 face="sans-serif">Mithun<br>
</font>