You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Hitesh Khandelwal (Jira)" <ji...@apache.org> on 2021/01/25 12:28:01 UTC

[jira] [Updated] (SOLR-15105) Sum aggregation not supported for externalField [Exception]

     [ https://issues.apache.org/jira/browse/SOLR-15105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hitesh Khandelwal updated SOLR-15105:
-------------------------------------
    Description: 
I upgraded solr (earlier version was 8.1.0) and got the following exception:
{code:java}
org.apache.solr.common.SolrException: sum aggregation not supported for popularityFile
 at org.apache.solr.search.facet.SumAgg.createSlotAcc(SumAgg.java:45)
 at org.apache.solr.search.facet.FacetFieldProcessor.createCollectAcc(FacetFieldProcessor.java:221)
 at org.apache.solr.search.facet.FacetFieldProcessorByArray.createCollectAcc(FacetFieldProcessorByArray.java:87)
 It happens when doing sum aggregation on a field type of solr.ExternalFileField{code}
Here's the fieldType config:
{code:java}
<fieldType name="popularityFile" keyField="id" defVal="0" stored="true" indexed="true" class="solr.ExternalFileField"/>{code}

  was:
I upgraded solr (earlier version was 8.1.0) and got the following exception:
org.apache.solr.common.SolrException: sum aggregation not supported for popularityFile
	at org.apache.solr.search.facet.SumAgg.createSlotAcc(SumAgg.java:45)
	at org.apache.solr.search.facet.FacetFieldProcessor.createCollectAcc(FacetFieldProcessor.java:221)
	at org.apache.solr.search.facet.FacetFieldProcessorByArray.createCollectAcc(FacetFieldProcessorByArray.java:87)
It happens when doing sum aggregation on a field type of solr.ExternalFileField

Here's the fieldType config:
{code:java}
<fieldType name="popularityFile" keyField="id" defVal="0" stored="true" indexed="true" class="solr.ExternalFileField"/>{code}


> Sum aggregation not supported for externalField [Exception]
> -----------------------------------------------------------
>
>                 Key: SOLR-15105
>                 URL: https://issues.apache.org/jira/browse/SOLR-15105
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: search
>    Affects Versions: 8.7
>            Reporter: Hitesh Khandelwal
>            Priority: Major
>
> I upgraded solr (earlier version was 8.1.0) and got the following exception:
> {code:java}
> org.apache.solr.common.SolrException: sum aggregation not supported for popularityFile
>  at org.apache.solr.search.facet.SumAgg.createSlotAcc(SumAgg.java:45)
>  at org.apache.solr.search.facet.FacetFieldProcessor.createCollectAcc(FacetFieldProcessor.java:221)
>  at org.apache.solr.search.facet.FacetFieldProcessorByArray.createCollectAcc(FacetFieldProcessorByArray.java:87)
>  It happens when doing sum aggregation on a field type of solr.ExternalFileField{code}
> Here's the fieldType config:
> {code:java}
> <fieldType name="popularityFile" keyField="id" defVal="0" stored="true" indexed="true" class="solr.ExternalFileField"/>{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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