Re: ArrayIndexOutOfBoundsException if stopword on left of bool clause w/ StandardAnalyzer

2004-07-14 Thread Morus Walter
Claude Devarenne writes: > > My question is: should the queryParser catch that there is no term > before trying to add a clause when using a StandardAnalyzer? Is this > even possible? Should the burden be on the application to either catch > the exception or parse the query before handing i

ArrayIndexOutOfBoundsException if stopword on left of bool clause w/ StandardAnalyzer

2004-07-14 Thread Claude Devarenne
Hi, A user mistyped their search terms and entered a query that looked like this: the AND title:bla I am using lucene 1.4 rc3. My web app, which is using a StandardAnalyzer, got an ArrayIndexOutOfBoundsException (stack trace below). I can reproduce this with the lucene demo (both the jsp

RE: ArrayIndexOutOfBoundsException

2004-04-28 Thread James Dunn
m: James Dunn <[EMAIL PROTECTED]> > >Reply-To: "Lucene Users List" > <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: ArrayIndexOutOfBoundsException > >Date: Mon, 26 Apr 2004 12:15:39 -0700 (PDT) > > > >Hello all, > &g

RE: ArrayIndexOutOfBoundsException

2004-04-28 Thread Phil brunet
Hi. I had this problem when i transfered a Lucene index by FTP in "ASCII" mode. Using binary mode, i never has such a problem. Philippe From: James Dunn <[EMAIL PROTECTED]> Reply-To: "Lucene Users List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: ArrayInd

Re: ArrayIndexOutOfBoundsException

2004-04-26 Thread Paul
This looks very much like the problem I had (see subject/thread 'Optimize Crash'). I anyone replies to this, could you please read my post as well - this is still unresolved and I'd like to be able to take some action on it. Cheers, Paul. James Dunn wrote: > Hello all, > > I have a web site who

ArrayIndexOutOfBoundsException

2004-04-26 Thread James Dunn
Hello all, I have a web site whose search is driven by Lucene 1.3. I've been doing some load testing using JMeter and occassionally I will see the exception below when the search page is under heavy load. Has anyone seen similar errors during load testing? I've seen some posts with similar exce

ArrayIndexOutOfBoundsException in RC2

2003-11-03 Thread Kevin A. Burton
Ouch... I think this might be a bug in RAMDirectory... just wanted to make the stacktrace public because regardless it seems like this might be an issue even IF I find a workaround. java.lang.ArrayIndexOutOfBoundsException: 57 at org.apache.lucene.util.BitVector.set(BitVector.java:85)

ArrayIndexOutOfBoundsException in FastCharStream.readChar

2002-08-13 Thread Kelvin Tan
Has anyone encountered this? See stacktrace: java.lang.ArrayIndexOutOfBoundsException at org.apache.lucene.analysis.standard.FastCharStream.readChar(Unknown Source) at org.apache.lucene.analysis.standard.StandardTokenizerTokenManagerjjMoveNfa_ 0(Unknown Source) at org.apa

Re: ArrayIndexOutOfBoundsException in IndexHTML demo

2002-06-27 Thread Otis Gospodnetic
g list archive for similar problems > > Also, I am running tomcat 4.0.4 (full edition). > > What would cause the demo code to generate an > ArrayIndexOutOfBoundsException? Could be something simple--I'm a > Java > newbie. > > Thanks, > Jeff > > > - Fo

ArrayIndexOutOfBoundsException in IndexHTML demo

2002-06-27 Thread jeff . watts
- Double checking my CLASSPATH and the functionality of the shipping Tomcat demos - Checking the web and this mailing list archive for similar problems Also, I am running tomcat 4.0.4 (full edition). What would cause the demo code to generate an ArrayIndexOutOfBoundsException? Could be something

ArrayIndexOutOfBoundsException in IndexHTML demo

2002-06-26 Thread jeff . watts
I am working my way through the examples in the Getting Started documentation, and I have run into a problem with the Web demo program. When I run the following command java org.apache.lucene.demo.IndexHTML -create -index {index} .. I receive the following messages: adding ./jsp/cal/Entries.tx

Re: Lucene throws an ArrayIndexOutOfBoundsException() if the first te rm in my query string is a stopWord

2002-03-07 Thread Otis Gospodnetic
Hm, I've got the latest Lucene (from CVS) and don't have this issue. The query I tried on our index is: +title:of +title:someotherwordthatDOESgetmeresults Otis --- "Biswas, Goutam_Kumar" <[EMAIL PROTECTED]> wrote: > Dear Lucene Users > > Lucene throw

Lucene throws an ArrayIndexOutOfBoundsException() if the first term in my query string is a stopWord

2002-03-07 Thread Biswas, Goutam_Kumar
Dear Lucene Users Lucene throws an ArrayIndexOutOfBoundsException() if the first term in my query string is a stopWord. Why is it so ? I'm making AND as the default mode of search. So I'm adding an AND operator between each term of my query. That is if my query is