: However, there's a question
: https://github.com/apache/solr/pull/2742/#issuecomment-2477285696 I copied
: it below.
:
: I read here
:
https://solr.apache.org/guide/solr/latest/query-guide/json-facet-api.html#stat-facet-functions
:
: Unlike all the facets discussed so far, Aggregation functions (also called
: facet functions, analytic functions, or metrics) do not partition data into
: buckets. Instead, they calculate something over all the documents in the
: domain.
:
: Can the proposed approach with type:func yield multiple buckets?
Oh, oh, oh .. my bad. I didn't look in depth at the PR you linked in your
initial msg, so I didn't fully grasp your question -- which in hindsight,
you asked very clearly and I glossed over...
: > : PR#2742 is about deploying custom AggValueSource parsers and invoke it
: > via
: > : {
: > : type:func,
: > : func:custom,..
: > : }
: > : The question is, how user can deploy own facet {type:custom}? see
... I believe you are correct, there is no (easy) way (i know of) for
users to implement a new "type" of json.facet (that can produce buckets).
Sorry about that.
-Hoss
http://www.lucidworks.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]