[ 
https://issues.apache.org/jira/browse/SOLR-7904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15052794#comment-15052794
 ] 

Dennis Gove commented on SOLR-7904:
-----------------------------------

I did consider an alternative format that would put the bucket options together 
and allow for different things in each bucket but steered away from it because 
it would require larger changes to the FacetStream implementation and may not 
have a usecase

{code}
facet(
  collection1,
  q="*:*",
  fl="a_s,b_s,a_i,a_f",
  sort="a_s asc",
  bucket("a_s", sort="sum(a_i) asc", limit=5, sum(a_i), avg(a_i), count(*)),
  bucket("b_s", sort="max(a_i) desc, min(a_i) desc", limit=20, sum(a_i), 
min(a_i), max(a_i)),
)
{code}

> Make FacetStream Expressible
> ----------------------------
>
>                 Key: SOLR-7904
>                 URL: https://issues.apache.org/jira/browse/SOLR-7904
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: Trunk
>            Reporter: Joel Bernstein
>             Fix For: Trunk
>
>
> This ticket makes the FacetStream (SOLR-7903) expressible, so it can be used 
> as a Streaming Expression.



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

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

Reply via email to