[opencms-dev] How to Use Lucene module

Rafael Diaz Valdes Rafael.Diaz.Valdes at cern.ch
Fri Apr 23 09:05:02 CEST 2004


Thanks a lot Butcher,
 then I'll put the search form in the template.jsp and copy the simple-search.jsp in a search_results.jsp page to show the result, this is the idea OK thanks again.
Best Regards 
Rafael


-----Original Message-----
From:	opencms-dev-admin at opencms.org on behalf of M Butcher
Sent:	Thu 4/22/2004 9:07 PM
To:	opencms-dev at opencms.org
Cc:	
Subject:	Re: [opencms-dev] How to Use Lucene module

simple-search.jsp is the results page -- you will want to include it in 
a separate search results page.

Elsewhere, you will want a form that submits a query named q.

<form action="search_results.jsp">
   Search:
   <input type="text" name="q"/>
   <input type="submit" value="search"/>
</form>

Matt

Rafael Diaz Valdes wrote:
> Hi, 
> 
>  I have instaled lucene search module without problems, but now I like to incorporate a search form in my template.jsp .
> 
> I know that I have to use that line:
> <cms:import
> page="/system/modules/net.grcomputing.opencms.search.lucene/elements/sim
> ple-search.jsp"/>
> 
>  but where ??? in my template.jsp ????
> 
> also where should I put the simple-search.jsp and how could I show the search result using my template.jsp 
> 
>  if someone have used this module before please help me to know how to use it.
> Best Regards 
> Rafael  
> _______________________________________________
> 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3215 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040423/719decce/attachment.bin>


More information about the opencms-dev mailing list