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

Eric Pugh resolved SOLR-15105.
------------------------------
    Resolution: Won't Fix

Per SOLR-17655, the recommendation for the future is to use in place updates 
for numeric fields.

> Sum aggregation not supported for externalField [Exception]
> -----------------------------------------------------------
>
>                 Key: SOLR-15105
>                 URL: https://issues.apache.org/jira/browse/SOLR-15105
>             Project: Solr
>          Issue Type: Bug
>          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){code}
> 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}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to