Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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:
facet(collection1, q="*:*", buckets="a_s", bucketSorts="sum(a_i) desc", bucketSizeLimit=100, sum(a_i), sum(a_f), avg(a_f), count(*))
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:
facet(collection,
q="*:*",
json=json.facet1)
&json.facet1=...