This is with trunk for Solr 1.4. It happened both with a build from 1 week ago as well as with a build from today, so I'm not sure if it's something recent, or even if it would happen on Solr 1.3 or not. Here's the stack trace indicating that a value looping around from Integer.MAX_VALUE to Integer.MIN_VALUE causing the exception:
-2147483648 java.lang.ArrayIndexOutOfBoundsException: -2147483648 at org.apache.solr.search.DocSetDelegateCollector.collect(DocSetHitCollector.java:113) at org.apache.lucene.search.BooleanScorer2.score(BooleanScorer2.java:301) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:245) at org.apache.lucene.search.Searcher.search(Searcher.java:173) at org.apache.solr.search.SolrIndexSearcher.getDocListAndSetNC(SolrIndexSearcher.java:1101) at org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:880) at org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:341) at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:174) at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:195) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1299) at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241) at ... Any ideas? The requests causing this are often never returning, or taking a very long time to return, and it's causing serious problems for us in our testing phase (including one occassion where the problem was triggered while warming a searcher during commit, and the commit never completed). -- Stephen Duncan Jr www.stephenduncanjr.com