[opencms-dev] lucene docs

Darin Kuntze dkuntze at thinksacco.com
Thu Mar 11 15:49:02 CET 2004


It should be pretty close to what the example docs provided:


        <luceneSearch>
            <mergeFactor>100000</mergeFactor>
            <permCheck>true</permCheck>
            <indexDir>/opt/lucene/index/opencms/</indexDir>
 
<analyzer>org.apache.lucene.analysis.standard.StandardAnalyzer</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>.jsp</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="/primary/">
                    <section>Primary Site</section>
                    <subsearch>true</subsearch>
                </directory>
		<directory location="/dept/">
			<section>Department Pages</section>
			<subsearch>true</subsearch>
		</directory>
            </directories>
        </luceneSearch>

Also note that in my /opt/lucene/index/opencms/ directory there is a file
called "segments" that is a whopping 8 bytes in size.

-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of M Butcher
Sent: Wednesday, March 10, 2004 9:13 PM
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] lucene docs



Aside from the comments in the registry file and the stuff in the 
module's doc/ directory, there are no other documents. If you ask 
specific questions on this list, you will usually get answers. ;-)

Sending the relevant part of the registry file might help. It is 
somewhat likely that the configuration for the particular directories is 
the culprit.

Matt

Darin Kuntze wrote:
> My Lucene indexer (cron job) appears to working correctly but never 
> indexes anything going though the directories I specified in the 
> registry:
> 
> <opencms_info> IndexManager: 0 documents are being processed
> 
> I'm using the sample config provided with the module with no luck.
> 
> Is there an extended help/tutorial that might shed some light on 
> what's going on?
> 
> Thanks!
> 
> 
> Darin Kuntze
> Senior Technologist
> The Sacco Group
> 402.392.2222 x120
> 
> 
> _______________________________________________
> 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

_______________________________________________
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