lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsi Krishna D (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-7387) Unable to use any function other than sum as sorting parameter for newly added solr facet aggregation functions
Date Thu, 23 Apr 2015 16:41:39 GMT

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

Vamsi Krishna D updated SOLR-7387:
----------------------------------
    Environment:     (was: 
)
     Issue Type: Bug  (was: Task)

> Unable to use any function other than sum as sorting parameter for newly added solr facet
aggregation functions 
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-7387
>                 URL: https://issues.apache.org/jira/browse/SOLR-7387
>             Project: Solr
>          Issue Type: Bug
>          Components: faceting
>    Affects Versions: 5.1
>            Reporter: Vamsi Krishna D
>             Fix For: Trunk, 5.2
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The error thrown is 
> "error":{
>     "msg":"org.apache.solr.search.facet.AvgAgg$1 cannot be cast to org.apache.solr.search.facet.FacetSortableMerger",
> and  input json request is 
> responseHeader":{
>     "status":500,
>     "QTime":24,
>     "params":{
>       "q":"*:*",
>       "json.facet":"{   categories:{     terms:{       field :something,       limit
:something,       sort : { y : desc},       facet:{\t y : \"avg(sub(amount,count))\"     
 }     }   } }",
>       "fq":"some thing else",
>       "rows":"0"}},



--
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


Mime
View raw message