You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Amrit Sarkar (JIRA)" <ji...@apache.org> on 2018/10/24 14:39:00 UTC

[jira] [Commented] (SOLR-12910) Support JSON Facet string as raw parameter for FacetStream

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

Amrit Sarkar commented on SOLR-12910:
-------------------------------------

Ideas and feedbacks are appreciated.

> Support JSON Facet string as raw parameter for FacetStream
> ----------------------------------------------------------
>
>                 Key: SOLR-12910
>                 URL: https://issues.apache.org/jira/browse/SOLR-12910
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: streaming expressions
>            Reporter: Amrit Sarkar
>            Priority: Major
>
> FacetStream source (https://lucene.apache.org/solr/guide/7_5/stream-source-reference.html#facet) converts the stream parameters passed into JSON Facet string internally and gets executed.
> e.g. facet stream request:
> {code}
> facet(collection1,
>       q="*:*",
>       buckets="a_s",
>       bucketSorts="sum(a_i) desc",
>       bucketSizeLimit=100,
>       sum(a_i),
>       sum(a_f),
>       avg(a_f),
>       count(*))
> {code}
> It would be a nice addition if we can support raw JSON Facet string as input for FacetStream to make it more flexible from application dev standpoint.
> The facet stream request can look something like:
> {code}
> facet(collection, 
>       q="*:*",
>       json=json.facet1)
> &json.facet1=...
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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