[opencms-dev] lucene docs

Hartmann, Waehrisch & Feykes GmbH hartmann at waehrisch-feykes.de
Thu Mar 11 16:30:02 CET 2004


I guessed you use 1.2 because you use its registry format. This not
compatible with version 1.5.
So you must upgrade your registry to the new format.


----- Original Message ----- 
From: "Darin Kuntze" <dkuntze at thinksacco.com>
To: <opencms-dev at opencms.org>
Sent: Thursday, March 11, 2004 4:23 PM
Subject: RE: [opencms-dev] lucene docs


I am using 1.5, since I have been reading about in this list for a while
before I actually downloaded and installed it. I guess I could delete out
the module and re-install after cleaning out everything if you think it
might be culprit.

-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Hartmann, Waehrisch & Feykes GmbH
Sent: Thursday, March 11, 2004 9:04 AM
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] lucene docs


Hi Darin,

Which version of the module do you use? I assume 1.2?
You should quickly get version 1.5 (get it from
http://opencmslucene.sourceforge.net/)

@Matt: please update the module's download link in opencms.org's module
sandbox!

The format of the registry has changed and you will find more comments. When
you update, it is better to delete the old module and also the class files
in
$TOMCAT_HOME/webapps/opencms/WEB-INF/classes/net/grcomputing/opencms/search/
lucene
It is a common issue that the old versions won't be overwritten when you
update the module with a new version.

Bye,
Stephan

----- Original Message ----- 
From: "Darin Kuntze" <dkuntze at thinksacco.com>
To: <opencms-dev at opencms.org>
Sent: Thursday, March 11, 2004 3:48 PM
Subject: RE: [opencms-dev] lucene docs


> 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
>
>
>
> _______________________________________________
> 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



_______________________________________________
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