[
https://issues.apache.org/jira/browse/SOLR-6348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14091652#comment-14091652
]
Shalin Shekhar Mangar commented on SOLR-6348:
---------------------------------------------
+1
I am still digesting this and SOLR-2894 but this is awesome, Hoss!
> Collection of improvements to StatsComponent & FacetComponent for loose
> coupling
> --------------------------------------------------------------------------------
>
> Key: SOLR-6348
> URL: https://issues.apache.org/jira/browse/SOLR-6348
> Project: Solr
> Issue Type: Improvement
> Reporter: Hoss Man
>
> This is a parent wrapper issue for a collection of small-ish, improvements
> that can be made to the StatsComponent and the FacetComponent to allow them
> to play nicer together and -- in combination with eachother -- provide more
> powerful combinations of features that will still work well in a SolrCloud
> setup.
> The end goal, once all tasks are completed, is that it should be possible to
> specify some query params like...
> {noformat}
> stats.field={!tag=price_stats min=true max=true}product_price
> stats.field={!tag=avg_rating mean=true}user_rating
> facet.range={!tag=price_ranges stats=rating_stats facet.range.start=...}price
> facet.pivot={!range=price_ranges stats=price_stats}store,category
> {noformat}
> And in the results you would get:
> * the min & max {{product_price}} for all matching documents
> * the mean {{user_rating}} for all matching documents
> * range facet counts over the {{price}} field
> ** for each range bucket, in addition to the normal constraint count there
> would also be:
> *** the average {{user_rating}} for all documents in that range bucket.
> * pivot facets drilling down on all matching documents, first by {{store}}
> then by {{category}}
> ** for value/count node in the pivot tree, there would also be:
> *** the min & max {{product_price}} for all documents matching this pivot
> constraint
> *** range facet counts over the {{price}} field for documents matching this
> pivot constraint
> **** for each range bucket, in addition to the normal constraint count there
> would also be:
> ***** the average {{user_rating}} for all documents in that range bucket.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]