<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
Hi all,<br>
<br>
For this search module I have created a directory on the root folder of opencms
and mentioned the path of the indexdir(which has all the index files in it)
in the registry.xml .<br>
Here is a part of my registry.xml<br>
***************************************************<br>
<luceneSearch><br>
            <mergeFactor>100000</mergeFactor><br>
            <permCheck>true</permCheck><br>
            <b><indexDir>/luceneindex/</indexDir></b><br>
            <analyzer>org.apache.lucene.analysis.standard.StandardAnalyzer</analyzer><br>
            <subsearch>true</subsearch><br>
            <project>online</project><br>
            <docFactories><br>
                <pageDocFactory enabled="true"><br>
                    <class>net.grcomputing.opencms.search.lucene.PageDocument</class><br>
                </pageDocFactory><br>
                <plainDocFactory enabled="true"><br>
                    <fileType name="plaintext"><br>
                        <extension>.txt</extension><br>
                        <class>net.grcomputing.opencms.search.lucene.PlainDocument</class><br>
                    </fileType><br>
                    <fileType name="taggedtext"><br>
                        <extension>.html</extension><br>
                        <extension>.htm</extension><br>
                        <extension>.xml</extension><br>
                        <!-- This will strip tags before processing --><br>
                        <class>net.grcomputing.opencms.search.lucene.TaggedPlainDocument</class><br>
                    </fileType><br>
                </plainDocFactory><br>
                <jspDocFactory enabled="true"><br>
                    <class>net.grcomputing.opencms.search.lucene.JspDocument</class><br>
                </jspDocFactory><br>
                <xmlTemplateDocFactory enabled="false"/><br>
            </docFactories><br>
            <directories><br>
                <b><directory location="/myfolder/"></b><br>
                    <section>Test</section><br>
                    <subsearch>true</subsearch><br>
                </directory><br>
            </directories><br>
        </luceneSearch><br>
    </system><br>
<br>
*************************************************************<br>
Now the indexer is running fine indexing 5 files under "myfolder" and the
logfile viewer shows <br>
<br>
Successful launch of job com.opencms.core.CmsCronEntry{50 14 * * * Admin
Administrators net.grcomputing.opencms.search.lucene.CronIndexManager createIndex=true}
Message: CronIndexManager rebuilt the Lucene index on Wed Aug 20 14:50:13
GMT+05:30 2003<br>
<br>
But still there is no file under the directory luceneindex after the indexing
gets over, I tried it 5-6 times but to no avail??<br>
Anybody having a clue abt it..<br>
<br>
Thanks,<br>
Abhishek.<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>