[opencms-dev] lucene 1.4
Schulz, Rainer
Rainer.Schulz at bonprix.net
Thu Oct 30 18:27:01 CET 2003
Hello List,
i have installed lucene 1.4. I use the same registry.xml wich i used for
lucene 1.3 , because there are no fatal changes. But when i start the cron -
job, the indexer does not create the indexes: Her's e the log :
30.10.2003 17:18:11] <opencms_info> IndexManager: 0 documents are being
processed
[30.10.2003 17:18:11] <opencms_info> IndexManager: Index has been
optimized.
[30.10.2003 17:18:11] <opencms_info> Done
In Version 1.3 he managed 142 documents...........now , i use the
registry.xml entrys from lucene 1.4 but it still not indexed any document.
Here my registry entrys for lucene:
----------------------------------------------------------------------------
-----------------------------------
<luceneSearch>
<mergeFactor>100000</mergeFactor>
<permCheck>true</permCheck>
<indexDir>c:\luceneindex\</indexDir>
<analyzer>org.apache.lucene.analysis.de.GermanAnalyzer</analyzer>
<subsearch>true</subsearch>
<project>online</project>
<docFactories>
<pageDocFactory enabled="true">
<class>net.grcomputing.opencms.search.lucene.PageDocument</class>
</pageDocFactory>
<plainDocFactory enabled="true">
<fileType name="plaintext">
<extension>.txt</extension>
<class>net.grcomputing.opencms.search.lucene.PlainDocument</class>
</fileType>
<fileType name="taggedtext">
<extension>.html</extension>
<extension>.htm</extension>
<extension>.xml</extension>
<!-- This will strip tags before processing
-->
<class>net.grcomputing.opencms.search.lucene.TaggedPlainDocument</class>
</fileType>
</plainDocFactory>
<jspDocFactory enabled="true">
<class>net.grcomputing.opencms.search.lucene.JspDocument</class>
</jspDocFactory>
<xmlTemplateDocFactory enabled="false"/>
</docFactories>
<directories>
<directory location="/xxxxx/">
<section>xxxxxxx</section>
<subsearch>true</subsearch>
</directory>
<directory location="/xxxxxxx/">
<section>xxxxxx</section>
<subsearch>true</subsearch>
</directory>
<directory location="/xxxxxxxx/">
<section>xxxxxx</section>
<subsearch>true</subsearch>
</directory>
<directory location="/xxxxxxx/">
<section>xxxxxx</section>
<subsearch>true</subsearch>
</directory>
</directories>
</luceneSearch>
----------------------------------------------------------------------------
----------
(still x'ed out my directory names.....sorry).
the indexdirectory exists, and the rights are all set. It works with version
1.3 .........can somebody tell me, where are my mistakes or why the indexer
does not index a document ??? Is this a bug ? should i use 1.3 ? I want to
use the version from Stephen Hartmann, so where are my falts ?
PS: i use unix and win-Style in the registry.xml (c:\luceneindex ->
c:/luceneindex)....both has no effects.....
regards
Rainer Schulz
bonprix
VG-PS
More information about the opencms-dev
mailing list