Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
7.5
-
None
Description
I'm seeing java.lang.ArrayIndexOutOfBoundsException exceptions for some requests when trying to make use of
uniqueBlock(_root_)
within JSON Facets.
Here are some example Stack Traces:
2018-10-12 14:08:50.587 ERROR (qtp215078753-3353) [ x:my_core] o.a.s.s.HttpSolrCall null:java.lang.ArrayIndexOutOfBoundsException: Index 13 out of bounds for length 8 at org.apache.solr.search.facet.UniqueBlockAgg$UniqueBlockSlotAcc.collectOrdToSlot(UniqueBlockAgg.java:40) at org.apache.solr.search.facet.UniqueSinglevaluedSlotAcc.collect(UniqueSinglevaluedSlotAcc.java:85) at org.apache.solr.search.facet.FacetFieldProcessor.collectFirstPhase(FacetFieldProcessor.java:243) at org.apache.solr.search.facet.FacetFieldProcessorByHashDV.collectValFirstPhase(FacetFieldProcessorByHashDV.java:432) at org.apache.solr.search.facet.FacetFieldProcessorByHashDV.access$100(FacetFieldProcessorByHashDV.java:50) at org.apache.solr.search.facet.FacetFieldProcessorByHashDV$5.collect(FacetFieldProcessorByHashDV.java:395) at org.apache.solr.search.DocSetUtil.collectSortedDocSet(DocSetUtil.java:284) at org.apache.solr.search.facet.FacetFieldProcessorByHashDV.collectDocs(FacetFieldProcessorByHashDV.java:376) at org.apache.solr.search.facet.FacetFieldProcessorByHashDV.calcFacets(FacetFieldProcessorByHashDV.java:247) at org.apache.solr.search.facet.FacetFieldProcessorByHashDV.process(FacetFieldProcessorByHashDV.java:214) at org.apache.solr.search.facet.FacetRequest.process(FacetRequest.java:368) at org.apache.solr.search.facet.FacetProcessor.processSubs(FacetProcessor.java:472) at org.apache.solr.search.facet.FacetProcessor.fillBucket(FacetProcessor.java:429) at org.apache.solr.search.facet.FacetQueryProcessor.process(FacetQuery.java:64) at org.apache.solr.search.facet.FacetRequest.process(FacetRequest.java:368) at org.apache.solr.search.facet.FacetModule.process(FacetModule.java:139) at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:298) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:199)
Here is another one at a different location in UniqueBlockAgg:
2018-10-12 21:37:57.322 ERROR (qtp215078753-4072) [ x:my_core] o.a.s.h.RequestHandlerBase java.lang.ArrayIndexOutOfBoundsException: Index 23 out of bounds for length 16 at org.apache.solr.search.facet.UniqueBlockAgg$UniqueBlockSlotAcc.getValue(UniqueBlockAgg.java:59) at org.apache.solr.search.facet.SlotAcc.setValues(SlotAcc.java:146) at org.apache.solr.search.facet.FacetFieldProcessor.fillBucket(FacetFieldProcessor.java:431) at org.apache.solr.search.facet.FacetFieldProcessor.findTopSlots(FacetFieldProcessor.java:381) at org.apache.solr.search.facet.FacetFieldProcessorByHashDV.calcFacets(FacetFieldProcessorByHashDV.java:249) at org.apache.solr.search.facet.FacetFieldProcessorByHashDV.process(FacetFieldProcessorByHashDV.java:214) at org.apache.solr.search.facet.FacetRequest.process(FacetRequest.java:368) at org.apache.solr.search.facet.FacetProcessor.processSubs(FacetProcessor.java:472) at org.apache.solr.search.facet.FacetProcessor.fillBucket(FacetProcessor.java:429) at org.apache.solr.search.facet.FacetQueryProcessor.process(FacetQuery.java:64) at org.apache.solr.search.facet.FacetRequest.process(FacetRequest.java:368) at org.apache.solr.search.facet.FacetModule.process(FacetModule.java:139) at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:298) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:199)
Attachments
Attachments
Issue Links
- is caused by
-
SOLR-8998 JSON Facet API child roll-ups
- Closed
- links to