Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 65162 invoked from network); 12 Jun 2007 17:31:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jun 2007 17:31:11 -0000 Received: (qmail 89113 invoked by uid 500); 12 Jun 2007 17:31:06 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 89087 invoked by uid 500); 12 Jun 2007 17:31:06 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 89076 invoked by uid 99); 12 Jun 2007 17:31:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2007 10:31:06 -0700 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=FORGED_HOTMAIL_RCVD,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lucenehelp@hotmail.com designates 65.54.246.226 as permitted sender) Received: from [65.54.246.226] (HELO bay0-omc3-s26.bay0.hotmail.com) (65.54.246.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2007 10:31:02 -0700 Received: from BAY126-W23 ([65.55.131.58]) by bay0-omc3-s26.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Tue, 12 Jun 2007 10:30:41 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_7ed82036-3568-4d37-bb06-0de338db5bc4_" X-Originating-IP: [199.46.198.231] From: Lucene Help To: Subject: RE: ERROR opening the Index - contact sysadmin! Date: Tue, 12 Jun 2007 13:30:41 -0400 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 12 Jun 2007 17:30:41.0717 (UTC) FILETIME=[66661E50:01C7AD17] X-Virus-Checked: Checked by ClamAV on apache.org --_7ed82036-3568-4d37-bb06-0de338db5bc4_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I tried uninstalling lucene and installing it again. This time, after sett= ing the CLASSPATH C:\lucene-2.1.0\lucene-core-2.1.0.jar;C:\lucene-2.1.0\luc= ene-demos-2.1.0.jar, I typed java org.apache.lucene.demo.IndexFiles C:\luce= ne-2.1.0\src into the commandline prompt. I got the following: Cannot sav= e index to 'index director, please delete it firstPlease let me know what I= am doing wrong. Thank you.> From: grant.ingersoll@gmail.com> Subject: Re:= ERROR opening the Index - contact sysadmin!> Date: Tue, 12 Jun 2007 13:14:= 17 -0400> To: java-user@lucene.apache.org> > It looks to me like your index= ing did not take (although for some > reason my mail reader is munging you= r line breaks so it is hard to > tell for sure). I would make sure you ha= ve successfully indexed and > then try to start the web app. To verify yo= u index was created, you > can use Luke (http://www.getopt.org/luke/)> > I= presume you have read http://lucene.apache.org/java/docs/ > demo3.html, bu= t maybe double checking it would be helpful.> > > On Jun 12, 2007, at 10:13= AM, Lucene Help wrote:> > >> > I am using apache-tomcat 5.5.23 and lucene-= 2.1.0. At the command > > prompt, I typed, java org.apache.lucene.demo.Ind= exHTML - create - > > index C:\Program Files\Apache Software Foundation\Tom= cat 5.5\webapps > > \opt\lucene\index ..I then got the following: Usage: = IndexHTML [- > > create] [-index ] I then copied and= pasted > > the luceneweb.war from C:\lucene-2.1.0 to C:\Program Files\Apa= che > > Software Foundation\Tomcat 5.5\webappsI checked to make sure that = > > the configuration.jsp in the directory C:\Program Files\Apache > > So= ftware Foundation\Tomcat 5.5\webapps\luceneweb was set correctly, > > whic= h it was: String indexLocation =3D "/opt/lucene/index";Then I > > went op= ened a Mozilla Firefox version 2.0.0.3 browser and typed in > > http://loc= alhost:8080/luceneweb/I entered, "test" for my Search > > Criteria, and tr= ied various numbers for Results Per Page, clicked > > on the Search button= , and got the error I described below, which was:> > Welcome to the Lucene = Template application. (This is the header)> >> >> >> > ERRO= R opening the Index - contact sysadmin!> > Error message: n= o segments* file found: files:> >> >> >> >> >> > Apache Lucene Template We= bApp 1.0 Thank you in advance!> From: > > gsingers@apache.org> Subject: Re= : ERROR opening the Index - contact > > sysadmin!> Date: Tue, 12 Jun 2007 = 09:40:55 -0400> To: java- > > user@lucene.apache.org> > Can you tell us the= steps you went > > through to get to this page?> > Thanks,> Grant> > On J= un 12, 2007, > > at 3:10 AM, Lucene Help wrote:> > >> > Hello,I just downl= oaded > > Lucene and tried running the demo. I seem > > to be okay up un= til > > I type in a query into the "Search Criteria" > > page and click o= n > > the "Search" button at the URL: http://localhost: > > 8080/ > > luc= eneweb/At this point I am at the URL http://localhost:8080/ > > > > lucene= web/results.jsp?query=3Dtest&maxresults=3D2 which gives me the > > > > fo= llowing:> > Welcome to the Lucene Template application. (This > > is the h= eader)> >> >> >> > ERROR opening the Index > > - contact s= ysadmin!> > Error message: no segments* > > file found: fi= les:> >> >> >> >> >> > Apache Lucene Template WebApp > > 1.0 If someone c= ould help me out > > ASAP, that would be great. > > Thanks!Lucene User> = > > > _________________________________________________________________> = > > > With Windows Live Hotmail, you can personalize your inbox with > > y= our > > favorite color.> > www.windowslive-hotmail.com/learnmore/ > > pers= onalize.html?locale=3Den- > > > > us&ocid=3DTXT_TAGLM_HMWL_reten_addcolor_= 0607> > > > --------------------------> Grant Ingersoll> Center for Natura= l > > Language Processing> http://www.cnlp.org/tech/lucene.asp> > Read > = > the Lucene Java FAQ at http://wiki.apache.org/jakarta-lucene/ > > > Luce= neFAQ> > > > > > ---------------------------------------------------------= ------------> > > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apa= che.org> > > For additional commands, e-mail: java-user-help@lucene.apache= .org>> > _________________________________________________________________>= > Make every IM count. Download Windows Live Messenger and join the > > i= =92m Initiative now. It=92s free.> > http://im.live.com/messenger/im/home/?= source=3DTAGWL_June07> > > > ----------------------------------------------= -----------------------> To unsubscribe, e-mail: java-user-unsubscribe@luce= ne.apache.org> For additional commands, e-mail: java-user-help@lucene.apach= e.org>=20 _________________________________________________________________ Make every IM count. Download Windows Live Messenger and join the i=92m Ini= tiative now. It=92s free.=A0=A0 http://im.live.com/messenger/im/home/?source=3DTAGWL_June07= --_7ed82036-3568-4d37-bb06-0de338db5bc4_--