lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: another problem with Multisearcher
Date Wed, 27 Jul 2005 22:12:56 GMT
Some changes were made to MultiSearcher version that is in the SVN
repository.  Which version of Lucene are you using, and can you provide
an index and a query that cause this exception?

Otis


--- Daniel Cortes <dcortes@fib.upc.edu> wrote:

> I don't know why, but all this problems that I shared with you are 
> produced for my use of multisearcher
> 
> Now I've obtained this, anyone had this problem sometimes?
> 
> java.lang.IndexOutOfBoundsException: Index: 43, Size: 12
>         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
>         at java.util.ArrayList.get(ArrayList.java:324)
>         at
> org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:155)
>         at
> org.apache.lucene.index.FieldInfos.fieldName(FieldInfos.java:151)
>         at 
>
org.apache.lucene.index.SegmentTermEnum.readTerm(SegmentTermEnum.java:149)
>         at 
>
org.apache.lucene.index.SegmentTermEnum.next(SegmentTermEnum.java:115)
>         at 
>
org.apache.lucene.index.TermInfosReader.scanEnum(TermInfosReader.java:143)
>         at 
> org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:137)
>         at 
>
org.apache.lucene.index.TermInfosReader.terms(TermInfosReader.java:196)
>         at 
> org.apache.lucene.index.SegmentReader.terms(SegmentReader.java:230)
>         at
> org.apache.lucene.search.PrefixQuery.rewrite(PrefixQuery.java:39)
>         at 
> org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:243)
>         at 
>
org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:166)
>         at org.apache.lucene.search.Query.weight(Query.java:84)
>         at 
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:85)
>         at 
> org.apache.lucene.search.MultiSearcher.search(MultiSearcher.java:116)
>         at org.apache.lucene.search.Hits.getMoreDocs(Hits.java:64)
>         at org.apache.lucene.search.Hits.<init>(Hits.java:43)
>         at org.apache.lucene.search.Searcher.search(Searcher.java:33)
>         at org.apache.lucene.search.Searcher.search(Searcher.java:27)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message