Re: MultiPhraseQuery throws ArrayIndexOutOfBounds Exception

2010-07-30 Thread Michael McCandless
Nice catch -- thanks! I will fix. Mike On Fri, Jul 30, 2010 at 11:20 AM, jayendra patil wrote: > Working on the nightly build of solr and lucene - > > MultiPhraseQuery throws ArrayIndexOutOfBounds Exception for the words > defined as synonym

MultiPhraseQuery throws ArrayIndexOutOfBounds Exception

2010-07-30 Thread jayendra patil
Working on the nightly build of solr and lucene - MultiPhraseQuery throws ArrayIndexOutOfBounds Exception for the words defined as synonyms SEVERE: java.lang.ArrayIndexOutOfBoundsException: 5 at org.apache.lucene.search.MultiPhraseQuery$MultiPhraseWeight.scorer(MultiPhraseQuery.java:191

ArrayIndexOutOfBounds exception

2005-04-13 Thread Bill Tschumy
I am using the MoreLikeThis class that is available in the "similarity" package in the contributed software area. It has bee working fine, but I just received the following exception java.lang.ArrayIndexOutOfBoundsException: -1 at org.apache.lucene.index.MultiReader.getTermFreqVector(Multi