[opencms-dev] Lucene example search doesn't find anything
Steffen Valentin
sva at archikart.de
Fri Feb 27 10:15:02 CET 2004
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040227/5f30912a/attachment.htm>
More information about the opencms-dev
mailing list