Known issue, already files as a bug, and may even have a patch in
Bugzilla.

Otis

--- "Surowiec, William" <[EMAIL PROTECTED]> wrote:
> I get distinctly different results (java exception versus request 
> completion) for two queries:
>  
> this AND is
> this OR is
>  
> I realize these are "dumb" queries, but they illustrate the problem. 
> The first gets:
>  
> error: java.lang.ArrayIndexOutOfBoundsException: -1 at 
> java.util.Vector.elementAt(Vector.java:434) at 
>
org.apache.lucene.queryParser.QueryParser.addClause(QueryParser.java:181)
> at
> 
> org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:493)
> at 
>
org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:525)
> at 
> org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:464)
> at 
> org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:108)
> at 
> org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:87)
> at ((MY
> CODE))
>  
> the second finds no results.
> 
> Used the latest stable release downloaded today, 1,3 final.
>  
> Please accept this as an observation on a surprise, not a complaint.
>  
> Thanks
>  
> Bill
> 
> "This communication is intended solely for the addressee and is
> confidential and not for third party unauthorized distribution."
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to