You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Илья Казначеев (JIRA)" <ji...@apache.org> on 2016/02/04 17:16:39 UTC

[jira] [Created] (SOLR-8644) ArrayIndexOutOfBoundsException in BlockJoinFieldFacetAccumulator

Илья Казначеев created SOLR-8644:
------------------------------------

             Summary: ArrayIndexOutOfBoundsException in BlockJoinFieldFacetAccumulator
                 Key: SOLR-8644
                 URL: https://issues.apache.org/jira/browse/SOLR-8644
             Project: Solr
          Issue Type: Sub-task
            Reporter: Илья Казначеев
            Priority: Minor


Not sure I can provide any minimal example, but possibly it's easier to fix than describe.
{code}
http://localhost:8983/solr/core0/bjqfacet?q={!parent+which%3Dtype_s:parent+v%3D$cq}&fq={!term+f%3Dbrand+tag%3Drbrand}Nike&facet=true&cq=entity_type:child+AND+SIZE_s:XLB&facet.field={!ex%3Drbrand}brand&child.facet.field=disp_clr
{code}

{code}
java.lang.ArrayIndexOutOfBoundsException: 0
        at org.apache.solr.search.join.BlockJoinFieldFacetAccumulator$SortedIntsAggDocIterator.nextDoc(BlockJoinFieldFacetAccumulator.java:117)
        at org.apache.solr.search.join.BlockJoinFieldFacetAccumulator.updateCountsWithMatchedBlock(BlockJoinFieldFacetAccumulator.java:143)
        at org.apache.solr.search.join.BlockJoinFacetCollector.countFacets(BlockJoinFacetCollector.java:119)
        at org.apache.solr.search.join.BlockJoinFacetCollector.incrementFacets(BlockJoinFacetCollector.java:106)
        at org.apache.solr.search.join.BlockJoinFacetCollector.collect(BlockJoinFacetCollector.java:87)
        at org.apache.solr.search.SolrIndexSearcher.getDocSet(SolrIndexSearcher.java:1161)
{code}

Again it only shows up in BlockJoinFacetComponent, not in BlockJoinDocSetFacetComponent

The error is at bottom of result:

{code}
<lst name="error"><str name="trace">java.lang.ArrayIndexOutOfBoundsException
</str><int name="code">500</int></lst>
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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