lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohmed Hussain <mohd.huss...@gmail.com>
Subject Occasionally hit ArrayIndexOutOfBoundException when searching
Date Sat, 08 Nov 2014 07:22:19 GMT
Hey All,
    We are using Solr for an enterprise product. Recently we did an upgrade
from 4.7.0 to 4.9.1 and are seeing this exception.
Its an EmbeddedSolrServer (know its a bad choice and are moving to Solr
Cloud very soon :)). And I used maven to upgrade following is the snippet
from pom.xml
<dependency>
    <groupId>org.apache.solr</groupId>
    <artifactId>solr-clustering</artifactId>
    <version>4.9.1</version>
</dependency>


*Stack trace*Caused by: org.apache.solr.client.solrj.SolrServerException:
java.lang.ArrayIndexOutOfBoundsException: 31
at
com.sabax.datastore.impl.DatastoreImpl$EmbeddedSolrServer.request(DatastoreImpl.java:607)
~[sabasearch.jar:na]
... 196 common frames omitted
Caused by: java.lang.ArrayIndexOutOfBoundsException: 31
at org.apache.lucene.util.FixedBitSet.nextSetBit(FixedBitSet.java:294)
~[sabasearch.jar:na]
at org.apache.solr.search.DocSetBase$1$1$1.advance(DocSetBase.java:202)
~[sabasearch.jar:na]
at
org.apache.lucene.search.ConstantScoreQuery$ConstantScorer.advance(ConstantScoreQuery.java:278)
~[sabasearch.jar:na]
at
org.apache.lucene.search.ConjunctionScorer.doNext(ConjunctionScorer.java:69)
~[sabasearch.jar:na]
at
org.apache.lucene.search.ConjunctionScorer.nextDoc(ConjunctionScorer.java:100)
~[sabasearch.jar:na]
at
org.apache.lucene.search.Weight$DefaultBulkScorer.scoreAll(Weight.java:192)
~[sabasearch.jar:na]
at org.apache.lucene.search.Weight$DefaultBulkScorer.score(Weight.java:163)
~[sabasearch.jar:na]
at org.apache.lucene.search.BulkScorer.score(BulkScorer.java:35)
~[sabasearch.jar:na]
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:621)
~[sabasearch.jar:na]
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:297)
~[sabasearch.jar:na]
at
org.apache.solr.search.SolrIndexSearcher.numDocs(SolrIndexSearcher.java:2040)
~[sabasearch.jar:na]
at org.apache.solr.request.SimpleFacets.rangeCount(SimpleFacets.java:1338)
~[sabasearch.jar:na]
at
org.apache.solr.request.SimpleFacets.getFacetRangeCounts(SimpleFacets.java:1262)
~[sabasearch.jar:na]
at
org.apache.solr.request.SimpleFacets.getFacetRangeCounts(SimpleFacets.java:1197)
~[sabasearch.jar:na]
at
org.apache.solr.request.SimpleFacets.getFacetRangeCounts(SimpleFacets.java:1141)
~[sabasearch.jar:na]
at
org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:262)
~[sabasearch.jar:na]
at
org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:84)
~[sabasearch.jar:na]
at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:218)
~[sabasearch.jar:na]
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
~[sabasearch.jar:na]
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1962)
~[sabasearch.jar:na]
at
com.sabax.datastore.impl.DatastoreImpl$EmbeddedSolrServer.request(DatastoreImpl.java:602)
~[sabasearch.jar:na]
... 196 common frames omitted

Please guide me, what must have gone wrong?


Thanks
-Hussain

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message