Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 83177 invoked from network); 19 Jun 2003 11:01:35 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 19 Jun 2003 11:01:35 -0000 Received: (qmail 18434 invoked by uid 97); 19 Jun 2003 11:03:53 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@nagoya.betaversion.org Received: (qmail 18426 invoked from network); 19 Jun 2003 11:03:52 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 19 Jun 2003 11:03:52 -0000 Received: (qmail 82791 invoked by uid 500); 19 Jun 2003 11:01:31 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 82780 invoked from network); 19 Jun 2003 11:01:30 -0000 Received: from webmail1.dat.bth.se (HELO webmail.bth.se) (194.47.129.151) by daedalus.apache.org with SMTP; 19 Jun 2003 11:01:30 -0000 Received: by webmail.bth.se (Postfix, from userid 72) id D6A477E87F; Thu, 19 Jun 2003 07:01:29 -0400 (EDT) Received: from cacher2-ext.wise.edt.ericsson.se (cacher2-ext.wise.edt.ericsson.se [194.237.142.13]) by webmail.bth.se (IMP) with HTTP for ; Thu, 19 Jun 2003 13:01:29 +0200 Message-ID: <1056020489.3ef1980991040@webmail.bth.se> Date: Thu, 19 Jun 2003 13:01:29 +0200 From: di99mwo@student.bth.se To: Lucene Users List Subject: Re: lucene web demo References: <1056008569.3ef16979325be@webmail.bth.se> <3EF17C8D.000001.01380@mojo> In-Reply-To: <3EF17C8D.000001.01380@mojo> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 194.237.142.13 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thank you. the command works now. I even find the luceneweb.war file =) Quoting Maurice Coyle : > the command i gave you (i.e. java org.apache.lucene.demo.IndexHTML -create > -index \jakarta-tomcat-4.0.6\webapps\index .. from some sub-directory of > webapps) should work, it did on my machine. > > as you can see from the above, you have to replace the {index-dir} in the > command with the path to the index directory (without {} around it). > > you can create a directory wherever you want (c:\lucene\index or whatever > and supply the full path (in place of {index-dir}) as \lucene\index) and as > long as the user that is running tomcat has read and write permission for > that directory, tomcat will be able to read and write to it. > > > > > -------Original Message------- > > From: Lucene Users List > Date: 19 June 2003 09:40:26 > To: Lucene Users List > Subject: Re: lucene web demo > > Silly me, I typed the "" also. > > But I still get error: > Usage: IndexHTML [-create] [-index ] > > I have tried all combination. > > What does {index-dir} mean? Where should I create it? How do I do to make > Tomcat has permission to read and write{index-dir}? > > > HELP ME, PLEASE!!!!!!!! > > > > > Quoting Maurice Coyle : > > > try C:\jakarta-tomcat-4.0.6\webapps\ROOT>java org.apache.lucene.demo > > IndexHTML -create -index \jakarta-tomcat-4.0.6\webapps\index .. > > > > although, you're indexing the directory that your index is going to be > > stored in. i'm not sure if that's a good thing, maybe it doesn't matter. > > if the above command doesn't work try creating the index directory > somewhere > > else and giving the absolute path to that. > > > > -------Original Message------- > > > > From: Lucene Users List > > Date: 18 June 2003 14:12:36 > > To: Lucene Users List > > Subject: Re: lucene web demo > > > > if I try with the full path o the index, I get the error: > > > > The filename, directory name, or volume label syntax is incorrect. > > > > > > > > > > Quoting Maurice Coyle : > > > > > have you tried running the command with the full path to the index > > > directory? > > > like: > > > > > > C:\jakarta-tomcat-4.0.6\webapps\ROOT>java org.apache.lucene.demo > IndexHTML > > - > > > create -index C:\jakarta-tomcat-4.0.6\webapps\index .. > > > > > > > > > > > > -------Original Message------- > > > > > > From: Lucene Users List > > > Date: 18 June 2003 14:00:47 > > > To: lucene-user@jakarta.apache.org > > > Subject: lucene web demo > > > > > > Hi > > > > > > I'm in the "Indexing Files" part in the Lucene web demo. > > > I have setup tomcat correctly. > > > > > > In the page http://jakarta.apache.org/lucene/docs/demo3.html it's > written: > > > > > > Once you've gotten this far you're probably itching to go. Let's start > by > > > creating the index you'll need for the web examples. Since you've > already > > > set > > > your classpath in the previous examples, all you need to do is type > java > > > org.apache.lucene.demo.IndexHTML -create -index {index-dir} ..". You'll > > need > > > to > > > do this from a (any) subdirectory of your {tomcat}/webapps directory > (make > > > sure > > > you didn't leave off the ".." or you'll get a null pointer exception). > > > {index- > > > dir} should be a directory that Tomcat has permission to read and write, > > but > > > is > > > outside of a web accessible context. By default the webapp is configured > > to > > > look in /opt/lucene/index for this index. > > > > > > I don't really understand the instruction...I have created a directory > > > called "index" in C:\jakarta-tomcat-4.0.6\webapps > > > > > > Tomcat is installed in: C:\jakarta-tomcat-4.0.6 > > > > > > The command I write is: > > > C:\jakarta-tomcat-4.0.6\webapps\ROOT>"java org.apache.lucene.demo > > IndexHTML > > > - > > > create -index index .." > > > > > > ERROR message: > > > The system cannot find the path specified. > > > > > > > > > ------------------------------------------------- > > > This mail sent through IMP: http://horde.org/imp/ > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: lucene-user-help@jakarta.apache.org > > > > > > . > > > > > > > > > > > > > ------------------------------------------------- > > This mail sent through IMP: http://horde.org/imp/ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: lucene-user-help@jakarta.apache.org > > > > . > > > > > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: lucene-user-help@jakarta.apache.org > > . > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org