You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dennis Gove (JIRA)" <ji...@apache.org> on 2015/12/11 14:30:10 UTC

[jira] [Commented] (SOLR-7904) Make FacetStream Expressible

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

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

I'm finalizing some of the tests but so far everything is passing fine. The expression format is as follows
{code}
facet(
  collection1,
  q="*:*",
  fl="a_s,a_i,a_f",
  sort="a_s asc",
  buckets="a_s",
  bucketSorts="sum(a_i) asc",
  bucketSizeLimit=10,
  sum(a_i), sum(a_f),
  min(a_i), min(a_f),
  max(a_i), max(a_f),
  avg(a_i), avg(a_f),
  count(*),
  zkHost="url:port"
)
{code}
It supports multiple buckets and multiple bucketSorts. All standard query properties (q, fl, sort, etc...) are also supported. The example above is only showing 3 of them. zkHost is optional.

> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org