Re: ArrayIndexOutOfBoundsException w/ ImageSearcher

2006-05-04 Thread Daniel Naber
On Mittwoch 03 Mai 2006 01:46, Michael Dodson wrote: > Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1 This is what you get when you try to open a Lucene 1.9 index with Lucene 1.4. Regards Daniel -- http://www.danielnaber.de --

Re: ArrayIndexOutOfBoundsException w/ ImageSearcher

2006-05-03 Thread Michael Dodson
I think I've fixed my own problem. I was using 1.4.3 in my code and the index was using 1.9.1. I updated and no longer get the error. Is this consistent with other people's experience though? I want to make sure this was actually the problem so the error doesn't resurface later. Thank

ArrayIndexOutOfBoundsException w/ ImageSearcher

2006-05-02 Thread Michael Dodson
Hi, I'm getting an ArrayIndexOutOfBoundsException when I try to create an instance of IndexSearcher with an FSDirectory. for IndexSearcher searcher = new IndexSearcher(directory); I get the following stack trace: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1