[opencms-dev] Lucene example search doesn't find anything

Steffen Valentin sva at archikart.de
Mon Mar 1 10:42:01 CET 2004


In my /test/ directory are 35 files (*.jsp, *.html) and some  Pictures
According to the logfile Lucene processed excactly 35 files!

Steffen


----- Original Message -----
From: "M Butcher" <mbutcher at grcomputing.net>
To: <opencms-dev at opencms.org>
Sent: Saturday, February 28, 2004 12:36 AM
Subject: Re: [opencms-dev] Lucene example search doesn't find anything


>
> How many files are in your /test/ directory? What types of files are
> they? How many files does the log file say are processed by Lucene?
>
> Matt
>
> Steffen Valentin wrote:
> > Hello group!
> >
> > I've got major problems with searching in Opencms!
> > I installed the lucene module and configured the system as described in
> > the readme.txt
> > Then I launched indexing and the indexes are created!
> > But now when I try to search with the example_search.jsp I allways get
> >
> >
> >
> >
> >     Your search found no matches. Please try again.
> >
> >
> > as result!
> >
> > What did I wrong or what could be a solution to my problem?
> >
> > Here is an exerpt of my registry.xml
> >
> >
> > <UseWpPicturesFromVFS>false</UseWpPicturesFromVFS>
> >
> > <searchbylucene>on</searchbylucene>
> >
> > <history>
> >
> > <enabled>true</enabled>
> >
> > <weeks/>
> >
> > <deleteversions>false</deleteversions>
> >
> > </history>
> >
> > <tempfileproject>3</tempfileproject>
> >
> > <luceneSearch>
> >
> > <mergeFactor>100000</mergeFactor>
> >
> > <permCheck>true</permCheck>
> >
> > <indexDir>/opt/tomcat-4.1.29/webapps/opencms5/index/</indexDir>
> >
> > <analyzer>org.apache.lucene.analysis.de.GermanAnalyzer</analyzer>
> >
> > <subsearch>true</subsearch>
> >
> > <project>offline</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="/test/">
> >
> > <section>Test</section>
> >
> > <subsearch>true</subsearch>
> >
> > </directory>
> >
> > </directories>
> >
> > </luceneSearch>
> >
> > </system>
> >
> >
> >
> > Thanks in advance! Steffen
> >
>
> _______________________________________________
> 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