[opencms-dev] How to Use Lucene module

Christian Pöcher Poecher at gmx.net
Thu Apr 22 22:04:01 CEST 2004


----- Original Message ----- 
From: "Rafael Diaz Valdes" <Rafael.Diaz.Valdes at cern.ch>
To: <opencms-dev at opencms.org>
Sent: Thursday, April 22, 2004 9:00 PM
Subject: [opencms-dev] How to Use Lucene module

>I know that I have to use that line:
><cms:import
>page="/system/modules/net.grcomputing.opencms.search.lucene/elements/sim
>ple-search.jsp"/>

You don't have to import the file. It is a piece of example code, that
actually runs quite well, accepts a parameter q and prints search results.
http://..../simple-search.jsp?q=term searches your index for the term
"term". You can take it as a base for your search result page.

HTH, chris




More information about the opencms-dev mailing list