[opencms-dev] lucene 1.4

Stephan Hartmann beffe at beffe.de
Thu Oct 30 21:38:02 CET 2003


Hi Rainer,

the format of the docfactory tags has changed.

change the tags
<xxxDocFactory enabled="true">
into
<docFactory type="xxx" enabled="true">


don't forget to correct the closing tags.

Bye,
Stephan

PS: i posted a sample registry.xml with the module

----- Original Message -----
From: "Schulz, Rainer" <Rainer.Schulz at bonprix.net>
To: <opencms-dev at opencms.org>
Sent: Thursday, October 30, 2003 5:53 PM
Subject: [opencms-dev] lucene 1.4


> 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
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list