You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2014/08/09 03:14:11 UTC
[jira] [Created] (SOLR-6348) Collection of improvements to
StatsComponent & FacetComponent for loose coupling
Hoss Man created SOLR-6348:
------------------------------
Summary: 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org