Re: 1.9.1 problem with MatchAllDocsQuery

2006-03-10 Thread javier muguruza
thanks Yonik, did not notice that. I patched my code not to run the search in that case, previous versions of lucene did not throw any exception in the same case though. thanks On 3/10/06, Yonik Seeley <[EMAIL PROTECTED]> wrote: > Hi Javier, > > The exception is happening on the last line of this

Re: 1.9.1 problem with MatchAllDocsQuery

2006-03-10 Thread Yonik Seeley
Hi Javier, The exception is happening on the last line of this method: public Query rewrite(Query original) throws IOException { Query[] queries = new Query[searchables.length]; for (int i = 0; i < searchables.length; i++) { queries[i] = searchables[i].rewrite(original); }

1.9.1 problem with MatchAllDocsQuery

2006-03-09 Thread javier muguruza
Hi all, I was using lucene-1.9-rc1-dev.jar (got it from luke website I think). I was running a query whose tostring() was: -body:angel -body:darpa -body:protocol +MatchAllDocsQuery1.0 When I upgraded to 1.9.1, I am getting an exception: ava.lang.ArrayIndexOutOfBoundsException: 0 at org.a