Return-Path: Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 99001 invoked from network); 8 Sep 2003 12:42:54 -0000 Received: from unknown (HELO jemoserver) (62.3.127.84) by daedalus.apache.org with SMTP; 8 Sep 2003 12:42:54 -0000 Received: from jemoserver ([192.168.2.3]) by jemoserver (JAMES SMTP Server 2.2.0a10) with SMTP ID 656 for ; Mon, 8 Sep 2003 07:42:11 +0100 (BST) Message-ID: <002301c375d4$54fb55a0$0302a8c0@jemoserver> From: "Marco Tedone" To: "Lucene Users List" References: <019a01c37569$cf725ba0$0302a8c0@jemoserver> <20030907182154.A9147@zeus.atlassian.com> Subject: Re: [NEWBIE] Creating context-relative URLs with Tomcat + Struts Date: Mon, 8 Sep 2003 07:42:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Sorry Scott, I was under the flies of enthusiasm :) I'm trying to realize a simple web-site search functionality and I would like to use Lucene as index-search engine. BTW, does it exist any book on Lucene? Marco ----- Original Message ----- From: "Scott Farquhar" To: "Lucene Users List" Sent: Monday, September 08, 2003 12:21 AM Subject: Re: [NEWBIE] Creating context-relative URLs with Tomcat + Struts > Marco, > > You may want to explain what you are trying to do before you start > describing your problems. > > For example, I have no idea how / why you would use Lucene to do either > of the things you are talking about below. > > Cheers, > Scott > > On Sun, Sep 07, 2003 at 06:59:40PM +0100, Marco Tedone wrote: > > Hi all, this is my first post, so I hope not to bore you too much with my > > questions: > > > > Ok, let's say that I would like to translate system's specific URLs (i.e. > > D:\Tomcat\webapps\foo\foo\bar.jsp and so on...) into web-context specific > > URLs (i.e. http://myServer/foo/foo/bar.jsp). Well, if I immagine to replace > > D:\Tomcat\webapps with http://myServer things seem quite easy. My first > > question is: is this the right way? As I am very new to Lucene, is there a > > possibility to instruct the IndexWriter to replace system path with web path > > (specified as argument) during index creation? > > > > Secondly, this is for Struts users, a jsp page not necessarily can be > > executed without passing from a Struts Action (i.e. an Action prepared some > > data to display, and if we try to access the jsp directly we could have some > > bad 5 minutes), so my question is: did anyone encountered this kind of > > questions? Did you find any solution? For this second subject, I could think > > to a sort of mapping file between JSPs and relevant actions, so that we can > > assume that if the user clicks on a JSP link, instead the relevant action > > for that JSP will be executed and then the JSP displayed. The mainteinance > > for this solution seems CRAP. > > > > Hope someone of you will help, > > > > Marco > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: lucene-user-help@jakarta.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: lucene-user-help@jakarta.apache.org > >