Mikhail Khludnev created SOLR-12712:
---------------------------------------

             Summary: use JSON reach DSL format for aggregations in JSON.Facet
                 Key: SOLR-12712
                 URL: https://issues.apache.org/jira/browse/SOLR-12712
             Project: Solr
          Issue Type: New Feature
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Facet Module
            Reporter: Mikhail Khludnev


h2. Context 

[Aggregations|https://lucene.apache.org/solr/guide/7_4/json-facet-api.html#aggregation-functions
 are nested into facets to handle enclosing buckets. They are supplied as a 
strings expression, which is handled by ValueSourceParser or so.
h2. Problem 

Passing complex expression as a comma separated list of arguments are 
problematic, it leads to the verbose naming scheme or puzzling name overload 
convention with optional arguments. see SOLR-12711, SOLR-12325. For example, 
[StreamingExpressions|https://lucene.apache.org/solr/guide/6_6/streaming-expressions.html#StreamingExpressions-StreamingRequestsandResponses]
 use name value syntax that's more powerful. 
h2. Suggesition

Either introduce JSON syntax for subfacet aggregations, or if nested facets are 
able to aggregate enclosing buckets, introduce a expandable parsers (plugin 
point) for JSON.Facet.   



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to